[Bug c/20230] GCC generates non-compliant warnings for qualifier promotion

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 27 18:16:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-02-27 11:16 -------
The C standard does in fact not allow this conversion. However,
I agree that it might be nice to have an option for semantics as in the
C++ standard (4.4). They allow this, and it is safe.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20230



More information about the Gcc-bugs mailing list