[Bug c/16602] Spurious warnings about pointer to array -> const pointer to array conversion

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 19 11:46:00 GMT 2007



------- Comment #3 from bonzini at gnu dot org  2007-09-19 11:46 -------
I'm not convinced by the explanation in the comment.  A pointer to array *is*
compatible with the corresponding const pointer type; -Wcast-qual may apply
too, but that's not exhibited in the test case.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


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



More information about the Gcc-bugs mailing list