This is the mail archive of the gcc-bugs@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]

Re: Switching 'cast to union' off?


> 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

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