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: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 23 Jun 2001 14:06:02 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
The following reply was made to PR c++/3385; it has been noted by GNATS.
From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
To: "Joseph S. Myers" <jsm28@cam.ac.uk>
Cc: Neil Booth <neil@daikokuya.demon.co.uk>,
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: 23 Jun 2001 16:04:22 +0200
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
| On Sat, 23 Jun 2001, Neil Booth wrote:
|
| > cpplib supports "-std=c++98", so we should stick with that. I don't
| > see the value in the really verbose forms.
|
| For someone familiar with the C++ standard but not C++ culture/history,
| the iso14882:1998 form would be natural. (Though if going literally by
| what appears on every page of the standard, it should be -std='ISO/IEC
| 14882:1998(E)'.)
I think we should just draw the line somewhere and 'c++98' is
fine. After all, the compiler recognizes switches it does recognize,
and if the doc says 'c++98' is what turn on 'ISO/IEC 14882:1998' then
that it is.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com