[Bug libfortran/30518] failed to build libgfortran in gcc-4.3-20070119 on OSX 10.3.9

fang at csl dot cornell dot edu gcc-bugzilla@gcc.gnu.org
Sat Jan 20 22:05:00 GMT 2007



------- Comment #3 from fang at csl dot cornell dot edu  2007-01-20 22:05 -------
Subject: Re:  failed to build libgfortran in gcc-4.3-20070119
 on OSX 10.3.9

> ------- Comment #2 from fang at csl dot cornell dot edu  2007-01-20 22:00 -------
> In <sys/resource.h> (Darwin), near the beginning, you'll see some ifndef
> business for struct timeval (the type of ru_utime and ru_stime).  It looks to
> be protected by the _TIMEVAL macro.  Somehow that is evaluating the wrong way,

Ooops, I was looking in a OS X 10.4.x <sys/resource.h>, but you referenced
10.3.9, whose header looks a little different -- it lacks a conditional
definition of struct timeval altogether.  Nevertheless, struct timeval is
still defined (unconditionally) in <sys/time.h>, so including that early
enough should fix her up.

Fang


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30518



More information about the Gcc-bugs mailing list