This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inconsistentcy in features.h


Ulrich Drepper wrote on 2000-09-29 06:25 UTC:
> I've rewritten this part of the comment now.
> One normally should always define one
> *_SOURCE macro since the default case is implementation dependent.  We
> should not encourage compiling without any definition.

I considered the original comment in features.h to be the desired
behaviour! If I do not specify a *_SOURCE, then I want to have as many
symbols defined as possible, at least everything that shows up in one of
the usual standards (X/Open, recent POSIX, ISO C99, etc. etc.). If all
these things do not show up by default, then we would have to add a huge
number of #defines to all the man page synopsis sections. The *_SOURCE
macros were primarily intended to restrict the number of symbols defined
by default, not to extend it. The majority of programmers should *not*
have to use them.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]