This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compaq Tru64 bootstrap problems


On Thu, May 30, 2002 at 01:54:58PM -0600, Roger Sayle wrote:
> Normally, <sys/timers.h> gets its definition of "struct timespec"
> from <sys/timemisc.h> where the definition is guarded by the CPP
> directive:
> 
> #if defined(__LANGUAGE_C__) || defined(__cplusplus)
> 
> My guess is that with the recent predefines reorganization we are
> no longer defining "__LANGUAGE_C__" on alpha*-dec-osf5.1.  Hopefully,
> the fix is trivial, but if not I can file a GNATS bootstrap PR.

Indeed that would appear to be the case.

The code in builtin_define_std doesn't look right.
Given LANGUAGE_C it defines 

	_LANGUAGE_C
	_LANGUAGE_C__

not the expected

	__LANGUAGE_C
	__LANGUAGE_C__

Zack or Neil, can you comment?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]