public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30219]  New: Inconsistent reporting of duplicate typedef
@ 2006-12-15 12:22 ross dot alexander at uk dot neceur dot com
  2006-12-15 12:23 ` [Bug c/30219] " ross dot alexander at uk dot neceur dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ross dot alexander at uk dot neceur dot com @ 2006-12-15 12:22 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

I have an include (nvidia GL/glext.h) which incorrectly defines a typedef
twice.  However gcc doesn't not always report this is as a failure.

mig27 12:16:21$ cat test.c
#include "GL/gl.h"

mig27 12:15:23$ gcc -E  test.c > a.i
mig27 12:15:30$ gcc -c a.i
mig27 12:15:34$ echo $?
0
mig27 12:15:36$ gcc -E -P test.c > a.i
mig27 12:15:43$ gcc -c a.i
a.i:1505: error: redefinition of typedef ‘PFNGLGETUNIFORMUIVEXTPROC’
a.i:1494: error: previous declaration of ‘PFNGLGETUNIFORMUIVEXTPROC’ was
here


-- 
           Summary: Inconsistent reporting of duplicate typedef
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ross dot alexander at uk dot neceur dot com
 GCC build triplet: i386-unknown-linux
  GCC host triplet: i386-unknown-linux
GCC target triplet: i386-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30219


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-15 16:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15 12:22 [Bug c/30219] New: Inconsistent reporting of duplicate typedef ross dot alexander at uk dot neceur dot com
2006-12-15 12:23 ` [Bug c/30219] " ross dot alexander at uk dot neceur dot com
2006-12-15 12:24 ` ross dot alexander at uk dot neceur dot com
2006-12-15 15:16 ` pinskia at gcc dot gnu dot org
2006-12-15 15:25 ` pinskia at gcc dot gnu dot org
2006-12-15 16:28 ` ross dot alexander at uk dot neceur dot com
2006-12-15 16:57 ` ross dot alexander at uk dot neceur dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).