Patch to pass -pedantic flag to cpplib

Nathan Sidwell nathan@acm.org
Thu Sep 30 23:58:00 GMT 1999


Nick Clifton wrote:
>   I have applied the following patch under the obviously correct
>   rule.  It allows the -pedantic command line switch to be passed
>   through to the cpplib code, so that pedantic warnings and errors can
>   be generated there.  It has no effect if standalone cpp is being
>   used.
> 
> Cheers
>         Nick
> 
> Thu Sep  9 12:20:34 1999  Nick Clifton  <nickc@cygnus.com>
> 
>         * toplev.c (documented_lang_options): Add -pedantic.
Eek, this is causing millions of g++ test suite failures!

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
        I have seen the death of PhotoShop -- it is called GIMP
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk



More information about the Gcc-patches mailing list