Re: silly gcc bug in RELENG_6

2005-11-02 Thread Simon 'corecode' Schubert

Brian Buchanan wrote:

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.


yah, but it's in the gcc code itself, no FreeBSD modification.

cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


silly gcc bug in RELENG_6

2005-10-31 Thread Brian Buchanan

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

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]