This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: inconsistentcy in features.h
- To: libc-alpha at sources dot redhat dot com
- Subject: Re: inconsistentcy in features.h
- From: Markus Kuhn <Markus dot Kuhn at cl dot cam dot ac dot uk>
- Date: Fri, 29 Sep 2000 09:04:17 +0100
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/>