This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: still problems with libstdcxx-v3 and -ansi
- To: sxking at uswest dot net, libstdc++ at sources dot redhat dot com
- Subject: Re: still problems with libstdcxx-v3 and -ansi
- From: Martin Reinecke <martin at MPA-Garching dot MPG dot DE>
- Date: Fri, 22 Sep 2000 16:46:47 +0200
- Organization: Max-Planck-Institut fuer Astrophysik
- References: <39CB6AD6.F52FC2FC@mpa-garching.mpg.de> <00092207374200.02303@rigel>
Steven King wrote:
>
> Perhaps, perhaps not. From 'gcc --help -v'
>
> Langauge specific options:
> -ansi Compile just for ISO C89
>
> thus one might argue that -ansi is not meaningfull for a C++ program. In that
> case however, I would also argue that -ansi should be rejected by the
> pre-processor if applied to C++ source ;0
Oops. I see.
A -ansi flag (and also -pedantic) for C++ might still be a good thing to have;
but I suppose this is a project for after gcc 3.0 ...
Thanks for the explanation,
Martin