This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37041] New: -Wc++-compat refinements
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2008 20:53:40 -0000
- Subject: [Bug c/37041] New: -Wc++-compat refinements
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-Wc++-compat should allow bool, wchar_t, char16_t and char32_t as typedefs
defined in system headers, while warning if they are used other than as types
or the typedefs are defined other than in system headers.
-Wc++-compat should warn for asm and inline when used in a C mode where they
are identifiers not keywords, but not in a mode when they are keywords and
not for the __ variants in any case.
-Wc++-compat should warn for uses of the alternative representations for
operators and punctuators such as "and", including uses as macro names (except
when defined in system headers, because of iso646.h) and macro parameter names.
--
Summary: -Wc++-compat refinements
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37041