Oz and Mozart Hackers Mailing List

Re: good news from the inline-opcode-map branch


From: duchier@ps.uni-sb.de
Date: Wed Dec 03 2003 - 16:06:10 CET


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?

-- 
Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
-
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/.



This archive was generated by hypermail 2b29.