http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49748
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-14 16:44:08 UTC --- the bug reporting guidelines clearly ask for a complete and self-contained test case, not several snippets of code which don't form a complete program http://gcc.gnu.org/bugs/ the warning is correct, see http://c-faq.com/ansi/constmismatch.html