This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3385: -std=foo doesn't work with C++
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/3385: -std=foo doesn't work with C++
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: 23 Jun 2001 08:36:00 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
The following reply was made to PR c++/3385; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: "Joseph S. Myers" <jsm28@cam.ac.uk>
Cc: Daniel Elstner <daniel.elstner@gmx.net>, gcc-gnats@gcc.gnu.org,
gcc-bugs@gcc.gnu.org
Subject: Re: c++/3385: -std=foo doesn't work with C++
Date: Sat, 23 Jun 2001 09:29:23 +0100
Joseph S. Myers wrote:-
> It would make sense to support -std for C++, with possible values being
> iso14882:1998 and g++98, but it's never going to make sense to specify a C
> standard (ISO 9899) version when compiling C++, and there ought to be
> appropriate errors given if you try to do so; the lack of error messages
> is a bug.
cpplib supports "-std=c++98", so we should stick with that. I don't
see the value in the really verbose forms.
Neil.