This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Switching 'cast to union' off?
- To: dirk at ida dot ing dot tu-bs dot de
- Subject: Re: Switching 'cast to union' off?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 17 Mar 2000 21:14:40 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.4.21.0003171118150.1999-100000@marvin.ida.ing.tu-bs.de>
> We have code that does _not_ produce a warning, but we rather want a
> warning produced.
Thanks again for your bug report. I've put it into GNATS. Please
understand that correcting that problem has low priority, have a look
at
http://gcc.gnu.org/cgi-bin/fom.cgi?file=12
for details. If you look at the gcc sources, you'll find that it is
not very difficult to disable that specific extensions, if you come up
with a patch, please submit it to gcc-patches@gcc.gnu.org. If you
want, you could also design a mechanism which would apply to all
extensions; you may want to write an outline first before implementing
it.
Regards,
Martin