This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47700] New: Warning for C casts in C++
- From: "olafvdspek at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Feb 2011 16:51:29 +0000
- Subject: [Bug c++/47700] New: Warning for C casts in C++
- Auto-submitted: auto-generated
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?