This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30518] error from system header file
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 11:43:10 -0000
- Subject: [Bug target/30518] error from system header file
- References: <bug-30518-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-01-21 11:43 -------
This is a real MacOS bug. Using the Apple compiler I can reproduce it using the
following (on 10.4). I don't know if it should be kept open in the GCC bugzilla
(for a possible fixinclude patch) or if getting it into the Apple radar
(#4944229) is enough.
$ cat a.c
#include <sys/resource.h>
int main (void) { return 0; }
$ gcc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk a.c
In file included from a.c:1:
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:81: error: field
?ru_utime? has incomplete type
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:82: error: field
?ru_stime? has incomplete type
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:119: error: parse
error before ?int32_t?
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:124: error: parse
error before ?rlim_t?
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:130: error: parse
error before ?fixpt_t?
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/resource.h:132: error: parse
error before ?}? token
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shebs at apple dot com, mrs
| |at apple dot com, echristo
| |at apple dot com, dalej at
| |apple dot com
Status|UNCONFIRMED |NEW
Component|libfortran |target
Ever Confirmed|0 |1
Keywords| |rejects-valid
Known to fail| |4.0.1 4.2.0 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-01-21 11:43:09
date| |
Summary|failed to build libgfortran |error from system header
|in gcc-4.3-20070119 on OSX |file
|10.3.9 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30518