This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Documentation request for -ansi


On Thu, Jun 22, 2000 at 12:14:32AM +0200, Philipp Thomas wrote:
> * Claus Fischer (claus.fischer@intel.com) [20000621 19:35]:
> 
> > Repetitive trauma from -ansi
> > ============================
> > 
> > This probably happens mostly to numerics folks.
> 
> IMO you've choosen the wrong list. This is a library issue, not one of gcc,
> so you should contact the glibc developers, not the gcc ones. Feel free to
> correct me if I've misunderstood you.

I know what they'll say: if you need erf() or any function not in C89,
don't use -ansi.

This is of course not very helpful.  I would suggest you try 
-ansi -D_XOPEN_SOURCE=500; that gets you a conforming-mode compiler,
and (I think) all of the C library except the GNU extensions.

zw

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