public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30218] New: Inconsistent reporting of duplicate typedef
@ 2006-12-15 12:18 ross dot alexander at uk dot neceur dot com
2006-12-15 12:22 ` [Bug c/30218] " ross dot alexander at uk dot neceur dot com
2006-12-15 15:16 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ross dot alexander at uk dot neceur dot com @ 2006-12-15 12:18 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=30218
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/30218] Inconsistent reporting of duplicate typedef
2006-12-15 12:18 [Bug c/30218] New: Inconsistent reporting of duplicate typedef ross dot alexander at uk dot neceur dot com
@ 2006-12-15 12:22 ` ross dot alexander at uk dot neceur dot com
2006-12-15 15:16 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: ross dot alexander at uk dot neceur dot com @ 2006-12-15 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ross dot alexander at uk dot neceur dot com 2006-12-15 12:21 -------
Created an attachment (id=12809)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12809&action=view)
GL/gl.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30218
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/30218] Inconsistent reporting of duplicate typedef
2006-12-15 12:18 [Bug c/30218] New: Inconsistent reporting of duplicate typedef ross dot alexander at uk dot neceur dot com
2006-12-15 12:22 ` [Bug c/30218] " ross dot alexander at uk dot neceur dot com
@ 2006-12-15 15:16 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-15 15:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-15 15:16 -------
*** This bug has been marked as a duplicate of 30219 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30218
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-15 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15 12:18 [Bug c/30218] New: Inconsistent reporting of duplicate typedef ross dot alexander at uk dot neceur dot com
2006-12-15 12:22 ` [Bug c/30218] " ross dot alexander at uk dot neceur dot com
2006-12-15 15:16 ` pinskia at gcc dot gnu dot org
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).