still problems with libstdcxx-v3 and -ansi

Martin Reinecke martin@MPA-Garching.MPG.DE
Fri Sep 22 07:46:00 GMT 2000


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


More information about the Libstdc++ mailing list