This is the mail archive of the gcc-help@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: What does -fpermissive permit?


Ken Klein <ka.klein@verizon.net> writes:

> Hi.  Can someone point me to a list of what the -fpermissive option
> permits?  The manual is vague about this.  Thanks! 

I don't think there is a list.  You can grep for flag_permissive and
permerror in the source code.  Also, if you use
-fdiagnostics-show-option with gcc 4.4 it will tell you if an error
may be disabled using -fpermissive.

In general the gcc maintainers provide -fpermissive to make it
possible to compile older non-standard-compliant code, but discourage
its use.

Ian


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