This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Question about option -fpermissive
- To: jbuck at Synopsys dot COM
- Subject: Re: Question about option -fpermissive
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- Date: Thu, 8 Jul 1999 02:56:13 +0200
- Cc: egcs-patches at egcs dot cygnus dot com
- Organization: None
- References: <Pine.GSO.4.10.9906291247110.2361-100000@markab.dbai.tuwien.ac.at>
In article <199906291621.JAA10280@atrus.synopsys.com> you write:
>Not just from an educational point of view. I think that anyone who
>alters specs should be urged to alter version.c as well, so that users
>will be alerted (by gcc -v) that they have a non-standard compiler.
Why not make that automated ? Add a very simple CRC somewhere in the
binary, so that gcc -v does check the specs and adds a prominent warning
that the specs is NOT standard.
Granted this only protects against specs files changes, not against people
that patch the compiler source proper, but it would remove misgivings
about changing the specfile.