Implement a -W switch that warn for most common cases of valid C codes that are invalid in C++, or are valid in C++ but with a slightly different menaing.
-- Summary: feature request: implement warning for codes at the intersection of C and C++ Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gdr at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: Plateform independent http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21759