This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30219] Inconsistent reporting of duplicate typedef
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2006 15:25:41 -0000
- Subject: [Bug c/30219] Inconsistent reporting of duplicate typedef
- References: <bug-30219-4285@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-15 15:25 -------
This is inconsistent on purpose.
Try using -Wsystem-headers if you want an error on system headers.
Also this is the main reason why we only error with -Wsystem-headers with
system headers.
PS please don't send private header files next time.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30219