[Bug c/30219] Inconsistent reporting of duplicate typedef

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 15 15:25:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list