parse error when compiling newlib-1.17.0

Howland Craig D (Craig) howland@LGSInnovations.com
Sat Jan 17 01:24:00 GMT 2009


It might be because your 2.7.2.3 GCC version is before they added the
__extension__ keyword.  Try a quick test to see if that's the case.
Then you can either use a command-line option to define it away or
can just nuke it from the files (the former being better so that your
local source would not be out of line with the official.)
				Craig

-----Original Message-----
From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
On Behalf Of Navid Toosizadeh
Sent: Friday, January 16, 2009 8:11 PM
To: newlib@sourceware.org
Subject: parse error when compiling newlib-1.17.0


Greetings,

When building newlib-1.17.0 I get a weird parsing error message:

/m/m2/safwat/navid/src2/newlib/libc/include/sys/_types.h:36: parse error
before `__extension__'

How do I solve this problem? what might cause this?

Best regards
Navid



More information about the Newlib mailing list