bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs


From: Eli Zaretskii
Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs
Date: Wed, 11 Jun 2003 21:38:33 +0300

> From: Paul Eggert <address@hidden>
> Date: 11 Jun 2003 10:29:34 -0700
> 
> > I wonder why you need to redeclare tzname[] there, do header files not
> > already declare it on platforms where HAVE_TZNAME is defined?
> 
> Yes, depending on compilation options.  For example, I get the
> following symptomps on both Debian GNU/Linux 3.0r1 and on Solaris 8:
> 
>    $ cat t.c
>    #include <time.h>
>    int main (void) { return !tzname; }
>    $ gcc -c t.c
>    $ gcc -c -ansi t.c
>    t.c: In function `main':
>    t.c:2: `tzname' undeclared (first use in this function)
>    t.c:2: (Each undeclared identifier is reported only once
>    t.c:2: for each function it appears in.)

But we don't use -ansi in Emacs, so this particular problem is not
really relevant, is it?  (I don't know whether gnulib can be built
with -ansi, but I sincerely doubt it.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]