This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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: environ and -D_GNU_SOURCE


    Andreas> environ is not part of any standard AFAIK - and therefore you need
    Andreas> _GNU_SOURCE.  If it would be, you would get it via one of the other
    Andreas> feature test macros.  We can't allow it without any feature test
    Andreas> macro, since this would violate standards like ISO C or POSIX that not
    Andreas> only specify what has to be in a header - but also forbid anything
    Andreas> else.

Ok. But then it would be interesting to put this in the docs, since I
had to look at the headers to find the solution...



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