This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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