From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Tolpin Message-Id: <200403051343.i25Dh2n2009725@adat.davidashen.net> To: 9fans@cse.psu.edu Content-Type: text/plain; charset=KOI8-R Subject: [9fans] Compiler bug - wrong error reporting Date: Fri, 5 Mar 2004 17:43:02 +0400 Topicbox-Message-UUID: 1871870a-eacd-11e9-9e20-41e7f4b1d025 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