silly gcc bug in RELENG_6
Brian Buchanan
bwb at holo.org
Mon Oct 31 19:23:19 PST 2005
test.c:
typedef struct a astruct;
void
foobar(void)
{
int s = sizeof(astruct);
}
> gcc test.c
test.c: In function `foobar':
test.c:6: error: invalid application of `sizeof' to incomplete type
`test.c'
^^^^^^^^ Looks like someone goofed up some printf() args.
> gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518
- Brian
More information about the freebsd-hackers
mailing list