This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10225: Unnamed structs aren't handled correctly in 3.3
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org,pthomas at suse dot de, gcc-prs at gcc dot gnu dot org, aj at suse dot de
- Date: Wed, 26 Mar 2003 18:24:54 +0100
- Subject: Re: c/10225: Unnamed structs aren't handled correctly in 3.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10225
Hmm... Didn't work with 2.95.3 apparently, so the
kernel had better not rely on this "feature".
Greetz
Steven
# gcc 10225.c -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/cpp0 -lang-c -v -D__GNUC__=2
-D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__
-D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix)
-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486
-D__i486__ 10225.c /tmp/ccba6Vbe.i
GNU CPP version 2.95.3 20010315 (SuSE) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/include/g++
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/../../../../i486-suse-linux/include
End of omitted list.
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/cc1 /tmp/ccba6Vbe.i -quiet
-dumpbase 10225.c -version -o /tmp/cc4V6K8j.s
GNU C version 2.95.3 20010315 (SuSE) (i486-suse-linux) compiled by GNU C
version 2.95.3 20010315 (SuSE).
10225.c:10: warning: useless keyword or type name in empty declaration
10225.c:10: warning: empty declaration
10225.c: In function `main':
10225.c:18: structure has no member named `z'