Switching 'cast to union' off?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Mar 17 12:18:00 GMT 2000


> 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


More information about the Gcc-bugs mailing list