This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: What does -fpermissive permit?
- From: Ian Lance Taylor <iant at google dot com>
- To: Ken Klein <ka dot klein at verizon dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 06 Oct 2009 07:21:57 -0700
- Subject: Re: What does -fpermissive permit?
- References: <0KR300DVCCF44SD6@vms173017.mailsrvcs.net>
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