[Bug c++/50956] -Wcast-qual does not work

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 2 14:24:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|paolo.carlini at oracle dot |
                   |com                         |
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
   Target Milestone|---                         |4.7.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-02 14:23:52 UTC ---
Ah! If we can warn for (char*)"txt" it means we can just do the check in
build_const_cast_1



More information about the Gcc-bugs mailing list