https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62037

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Firstly, a warning doesn't mean you cannot do it, you just get a warning.

Secondly, that's the correct behaviour, see
http://c-faq.com/ansi/constmismatch.html

Reply via email to