public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28015] New: Nonspecific error messages
@ 2006-06-13 16:37 philippe at fornux dot com
2006-06-13 16:44 ` [Bug c++/28015] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: philippe at fornux dot com @ 2006-06-13 16:37 UTC (permalink / raw)
To: gcc-bugs
Greetings:
I am trying to compile an application and I am getting error massages like the
following one. Obviously the "previous definition" doesn't point to the first
definition of "struct timespec" but to the redundant definition. This is
therefore pretty useless:
/usr/include/time.h:119: error: redefinition of `struct timespec'
/usr/include/time.h:119: error: previous definition of `struct timespec'
Phil
--
Summary: Nonspecific error messages
Product: gcc
Version: 3.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: philippe at fornux dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28015] Nonspecific error messages
2006-06-13 16:37 [Bug c++/28015] New: Nonspecific error messages philippe at fornux dot com
@ 2006-06-13 16:44 ` pinskia at gcc dot gnu dot org
2006-06-13 20:21 ` philippe at fornux dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-13 16:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-13 16:37 -------
I cannot reproduce this with a simple:
struct timespec {};
#include <time.h>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28015] Nonspecific error messages
2006-06-13 16:37 [Bug c++/28015] New: Nonspecific error messages philippe at fornux dot com
2006-06-13 16:44 ` [Bug c++/28015] " pinskia at gcc dot gnu dot org
@ 2006-06-13 20:21 ` philippe at fornux dot com
2006-06-15 7:21 ` falk at debian dot org
2006-09-14 18:37 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: philippe at fornux dot com @ 2006-06-13 20:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from philippe at fornux dot com 2006-06-13 20:17 -------
I was compiling a big project and I ended up with this error message. I just
tried to compile the same file by preprocessing it first (-E) and I don't have
the error anymore.
Actually I think some dependent file got included twice. That will explain the
error messages refering to the same locations; therefore it not a compiler
problem but some improper "#ifndef" preprocessor handling in the header files
on my Redhat system.
I will investigate and let you know if I come up with something.
Bests,
Phil
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28015] Nonspecific error messages
2006-06-13 16:37 [Bug c++/28015] New: Nonspecific error messages philippe at fornux dot com
2006-06-13 16:44 ` [Bug c++/28015] " pinskia at gcc dot gnu dot org
2006-06-13 20:21 ` philippe at fornux dot com
@ 2006-06-15 7:21 ` falk at debian dot org
2006-09-14 18:37 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: falk at debian dot org @ 2006-06-15 7:21 UTC (permalink / raw)
To: gcc-bugs
--
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28015] Nonspecific error messages
2006-06-13 16:37 [Bug c++/28015] New: Nonspecific error messages philippe at fornux dot com
` (2 preceding siblings ...)
2006-06-15 7:21 ` falk at debian dot org
@ 2006-09-14 18:37 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-14 18:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-14 18:36 -------
No feedback in 3 months.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-14 18:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 16:37 [Bug c++/28015] New: Nonspecific error messages philippe at fornux dot com
2006-06-13 16:44 ` [Bug c++/28015] " pinskia at gcc dot gnu dot org
2006-06-13 20:21 ` philippe at fornux dot com
2006-06-15 7:21 ` falk at debian dot org
2006-09-14 18:37 ` 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).