This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: still problems with libstdcxx-v3 and -ansi


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

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