From: David Tolpin <dvd@davidashen.net>
To: 9fans@cse.psu.edu
Subject: [9fans] Compiler bug - wrong error reporting
Date: Fri, 5 Mar 2004 17:43:02 +0400 [thread overview]
Message-ID: <200403051343.i25Dh2n2009725@adat.davidashen.net> (raw)
1 extern char **Files;
2
3 typedef struct {
4 char **Files;
5 } Ta;
6
7 static char **Files = 0;
8c -c test.c
test.c:7 external redeclaration of: Files
STATIC IND IND CHAR test.c:7
EXTERN IND IND CHAR test.c:4
I.e. instead of reporting 1st and 7th lines with conflicting
declarations, the compiler reports the 7th line and a field
in struct, which is from a different space.
David
next reply other threads:[~2004-03-05 13:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 13:43 David Tolpin [this message]
2004-03-05 13:57 ` boyd, rounin
2004-03-05 14:03 ` David Presotto
2004-03-05 14:09 ` David Tolpin
2004-03-05 14:11 ` dbailey27
2004-03-05 16:06 ` Brantley Coile
2004-03-05 16:17 ` boyd, rounin
2004-03-05 14:18 ` boyd, rounin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200403051343.i25Dh2n2009725@adat.davidashen.net \
--to=dvd@davidashen.net \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).