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: Stephen J. Turnbull
Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs
Date: Tue, 17 Jun 2003 20:10:12 +0900
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, linux)

>>>>> "Paul" == Paul Eggert <address@hidden> writes:

    Paul> Dave Love <address@hidden> writes:

    >> Surely it's incorrect not to use them if you want to use the
    >> features?

    Paul> However, I've found that it's usually a mistake to play with
    Paul> feature-test macros any more than that.

FWIW, XEmacs does use the feature-test macros.  config.h sets (or not)
all of _POSIX_C_SOURCE, _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
_ALL_SOURCE (for AIX), _GNU_SOURCE (for glibc), and __EXTENSIONS__
(for Solaris), and if you've got X11, it also uses _POSIX_SOURCE,
_BSD_SOURCE, and _SVID_SOURCE.

That's a lot of macros!  Martin Buchholz spent many hours studying
standards and reviewing code to keep up with all this stuff, and make
sure the preprocessor conditionals checked the correct feature macros
etc.  So I guess our experience mostly supports Paul's position.  You
could ask Martin <address@hidden>.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




reply via email to

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