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: need to define _ISOC99_SOURCE


Akim Demaille writes:

> Bruno> Well, as Paul Eggert said, it is preferrable to try to append
> Bruno> "-Ae" to $CC (and $CPP) instead of defining _HPUX_SOURCE. "cc
> Bruno> -Ae" gives you "long long" support, which _HPUX_SOURCE doesn't.
> 
> Yep, maybe, but I fear it is somewhat different: does it mean you're
> requiring ANSI C?  If it does not, then fine with me.

"cc -Ae" (equivalent to "cc -Aa -D_HPUX_SOURCE +e", where "+e" enables
"HP value-added features", i.e. some C language features which are not
strictly ANSI C) groks both ANSI C and K&R C syntaxes. Whereas plain
"cc -D_HPUX_SOURCE" does not grok ANSI C source, only K&R source.

Bruno

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