This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to add -Wno-int-to-pointer-cast and -Wno-pointer-to-int-cast
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)