Sorry, didn't see your PS, but I think you might be interested:
aldebaran!glynn [87] gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3
k
duchier@ps.uni-sb.de writes:
> glynn@info.ucl.ac.be (Kevin Glynn) writes:
>
> > aldebaran!glynn [13] gcc -c tmp.c
> > tmp.c: In function `check':
> > tmp.c:13: warning: ISO C forbids taking the address of a label
> > tmp.c:14: warning: ISO C forbids taking the address of a label
> > tmp.c:16: warning: ISO C forbids `goto *expr;'
> > tmp.c:18: error: `asm' undeclared (first use in this function)
> > tmp.c:18: error: (Each undeclared identifier is reported only once
> > tmp.c:18: error: for each function it appears in.)
> > tmp.c:18: error: parse error before "volatile"
>
> It seems that this version of gcc was configured to use -ansi by
> default: this turns off support for gcc extensions. Try compiling
> with:
>
> gcc -std=gnu89 -c tmp.c
>
> and let me know what happens.
>
> Cheers,
>
> PS: what does "gcc -v" print out?
>
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.