Question about option -fpermissive
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jun 29 02:23:00 GMT 1999
On Jun 26, 1999, Andris Pavenis <andris@stargate.astr.lu.lv> 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 http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
More information about the Gcc
mailing list