math.h compile error (gcc-2.95.3 + newlib-1.11.0)

Dan Kegel dank@kegel.com
Tue Sep 16 16:20:00 GMT 2003


Toralf Lund wrote:
> I'm now actually down to one error message for my port to gcc cross 
> compiler ;-) In the C code, that is; some of the assembler still needs 
> to be changed.
> 
> Anyhow, I get:
> 
> In file included from track.c:44:
> /usr/lib/gcc-lib/m68k-coff/2.95.3/../../../../m68k-coff/include/math.h:26: 
> syntax error before `union'
> 
> extern __IMPORT const union __dmath __infinity[];

Can you whittle this down to a minimal test case, then post the preprocessed
source?  Maybe __IMPORT is expanding to something broken...

- Dan


-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list