[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread ross dot alexander at uk dot neceur dot com
--- Comment #7 from ross dot alexander at uk dot neceur dot com 2006-12-15 16:56 --- I have found the relevent code in c-decl.c but it would be nice if this emitted a warning so that if -Wsystem-headers is set then the warning will show up. Thanks for the assistence. Ross /* Rede

[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread ross dot alexander at uk dot neceur dot com
--- Comment #5 from ross dot alexander at uk dot neceur dot com 2006-12-15 16:28 --- Subject: Re: Inconsistent reporting of duplicate typedef > This is inconsistent on purpose. > Try using -Wsystem-headers if you want an error on system headers. I can't get it to error if it is us

[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread pinskia 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 pri

[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-15 15:16 --- *** Bug 30218 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30219

[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread ross dot alexander at uk dot neceur dot com
--- Comment #2 from ross dot alexander at uk dot neceur dot com 2006-12-15 12:23 --- Created an attachment (id=12811) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12811&action=view) GL/gl.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30219

[Bug c/30219] Inconsistent reporting of duplicate typedef

2006-12-15 Thread ross dot alexander at uk dot neceur dot com
--- Comment #1 from ross dot alexander at uk dot neceur dot com 2006-12-15 12:23 --- Created an attachment (id=12810) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12810&action=view) GL/glext.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30219