[Bug c++/47700] New: Warning for C casts in C++

olafvdspek at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 11 16:54:00 GMT 2011


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

           Summary: Warning for C casts in C++
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: olafvdspek@gmail.com


Some consider C casts in C++ code bad. g++ -Wall -pedantic doesn't warn. Could
this (optional) warning be added?



More information about the Gcc-bugs mailing list