This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: Move more switches to front ends
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 10 Aug 2002 22:14:42 +0100 (BST)
- Subject: Re: cpplib: Move more switches to front ends
On Sat, 10 Aug 2002, Neil Booth wrote:
> @@ -1009,8 +1009,8 @@ affected.
> @item -std=
> @opindex std
> Determine the language standard. This option is currently only
> -supported when compiling C@. A value for this option must be provided;
> -possible values are
> +supported when compiling C or C++. A value for this option must be
> +provided; possible values are
The entry in projects/beginner.html "Implement -std for the C++ front
end." now needs to go away (though -std may still be relevant for
non-C-family front ends). The other -std entries there may also no longer
be relevant (have all the bad -ansi checks in target specs gone away
yet?). The unified options parsing probably obsoletes "Move all flags
shared between C and C++ to c-common.[ch]." though another entry should
probably replace it, "Find warnings that only the C front end does that
would make sense with C++ and make the C++ front end support them as
well (sharing code if possible).".
--
Joseph S. Myers
jsm28@cam.ac.uk