Patch to add -Wno-int-to-pointer-cast and -Wno-pointer-to-int-cast

Joseph S. Myers joseph@codesourcery.com
Wed Apr 20 01:46:00 GMT 2005


On Tue, 19 Apr 2005, Andrew Pinski wrote:

> Question is why would anyone have an option to turn this off, it seems
> like they just don't want to fix their code to add a cast.

I don't know the exact code for which the option was wanted, but do know 
it was an actual user-requested (and partly user-implemented) feature and 
that in due course all warnings should be getting their own options to 
control them anyway.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc-patches mailing list