This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PCH] driver, documentation
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Stan Shebs <shebs at apple dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 19 Aug 2002 19:42:26 +0100 (BST)
- Subject: Re: [PCH] driver, documentation
On Mon, 19 Aug 2002, Stan Shebs wrote:
> (I think we get this one wrong now). It would be useful to have some
> way of knowing or indicating flags that don't affect a precomp, because
> it's too restrictive otherwise - consider a -Wxxx passed only to some
> files in a project.
Though -W options shouldn't affect precompilation, note that -pedantic can
certainly affect generated trees (pedantic_non_lvalue etc.) and in some
obscure cases may change generated code. (These cases are bugs; the sole
effect of -pedantic should be to add warnings.)
--
Joseph S. Myers
jsm28@cam.ac.uk