[cmake-developers] CMake build error on Haiku

Brad King brad.king at kitware.com
Tue Jan 8 15:28:21 EST 2013


On 01/08/2013 03:08 PM, Rolf Eike Beer wrote:
> Am , schrieb Brad King:
>>  +# elif defined(__GNUC__) && __GNUC__ == 2
>>  +#  define @KWIML at _ABI_SIZEOF_LONG_LONG 8
> 
> I don't know when this SIZEOF_LONG_LONG was introduced. If it is 
> present it is used before anyway. I just fear there are early 3.x 
> version that have the same problem. And I don't think it would hurt for 
> other cases, would it?

I guess no one has tried to build CMake with on of those versions since
this code was introduced.  Anyway, any future compiler that defines the
__GNUC__ macro should define __SIZEOF_LONG_LONG__ so if the latter is
not defined I suppose it is safe to assume size 8.

-Brad



More information about the cmake-developers mailing list