AW: AW: Could turn on -O2 in AIX
AW: AW: Could turn on -O2 in AIX
От:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Дата:
> > The macro AbsoluteTimeIsReal does not work somehow. > > Hm. That expands to > > (((int) time) < ((int) 0x7FFFFFFC) && \ > ((int) time) > ((int) 0x80000001)) There is a special case in nabstime.h for AIX, which imho got swapped. The normal case for me would be INT_MIN and not the 0x80000001. There is a comment that I don't understand at all given the below source code: /** AIX considers 2147483648 == -2147483648 (since they have the same bit* representation) but uses a different sign sense in a comparison to* these integer constants depending on whether the constant is signed* or not!*/ #if defined (_AIX) #define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN) #else #define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 (- 2^31) */ #endif But that is unfortunately not the problem. Looks like yet another broken compiler to me :-( Andreas