public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29934] New: duplicate typedef produces error message containing a bad character.
@ 2006-11-21 20:15 bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
2006-11-21 20:17 ` [Bug c/29934] " pinskia at gcc dot gnu dot org
2006-11-21 20:26 ` bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
0 siblings, 2 replies; 3+ messages in thread
From: bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu @ 2006-11-21 20:15 UTC (permalink / raw)
To: gcc-bugs
Start with this code
---- cut here to start foo.c ----
typedef typedef struct abc ABC;
---- cut here to end foo.c ----
Note the duplicate typedef. This program contains an error.
When I do
gcc foo.c -c
I get
foo.c:1 error: duplicate <ahat>
Where <ahat> is really some sort of funny character that looks like an "a" with
an accent above it.
I am guessing that the format statement is malformed or that the string is
uninitialized. It should probably say
foo.c: 1 error: duplicate typedef
I am using gcc-4.1.1-30 from fedora core 6.
gcc -v says
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
This is on an AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ running Gnu/Linux.
--
Summary: duplicate typedef produces error message containing a
bad character.
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit
dot edu
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29934
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/29934] duplicate typedef produces error message containing a bad character.
2006-11-21 20:15 [Bug c/29934] New: duplicate typedef produces error message containing a bad character bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
@ 2006-11-21 20:17 ` pinskia at gcc dot gnu dot org
2006-11-21 20:26 ` bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-21 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-21 20:17 -------
Try setting the env variable LANG to "C".
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29934
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/29934] duplicate typedef produces error message containing a bad character.
2006-11-21 20:15 [Bug c/29934] New: duplicate typedef produces error message containing a bad character bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
2006-11-21 20:17 ` [Bug c/29934] " pinskia at gcc dot gnu dot org
@ 2006-11-21 20:26 ` bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
1 sibling, 0 replies; 3+ messages in thread
From: bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu @ 2006-11-21 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu 2006-11-21 20:25 -------
I propose that you close this bug as a "non-bug".
The real problem appears to be that when I ssh to this machine in a cygwin
xterm, something funny is going on. The error message is properly printed if
no xterm is involved.
--
bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29934
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-21 20:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-21 20:15 [Bug c/29934] New: duplicate typedef produces error message containing a bad character bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
2006-11-21 20:17 ` [Bug c/29934] " pinskia at gcc dot gnu dot org
2006-11-21 20:26 ` bradley-k-gnu dot e2d0b7 at bradley dot csail dot mit dot edu
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).