Question about option -fpermissive

Alexandre Oliva
Tue Jun 29 02:23:00 GMT 1999

On Jun 26, 1999, Andris Pavenis <> wrote:

> 	Any warning is interpretted as error.

Not really, but g++ 2.95 is going to become much stricter WRT to C++
correctness.  Requiring -fpermissive for code that used to be accepted 
only with a warning is really intentional (not that I fully agree with 
it, but it's not up to me to decide it :-)

> #undef CC1PLUS_SPEC
> #define CC1PLUS_SPEC "%{!fno-permissive:-fpermissive}"

It might be nice to mention this trick somewhere in the FAQ.
Ok to install?

Alexandre Oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}  aoliva@{,}
*** E-mail about software projects will be forwarded to mailing lists

More information about the Gcc mailing list