[cmake-developers] CMake build error on Haiku
Rolf Eike Beer
eike at sf-mail.de
Tue Jan 8 15:08:50 EST 2013
Am , schrieb Brad King:
> On 01/08/2013 01:43 PM, Rolf Eike Beer wrote:
>> I have not submitted it to the next branch because I
>> assume this is another Kitware magic upstream tree:
>
> It is.
>
>> diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
>> index 7f4772a..a336a80 100644
>> --- a/Utilities/KWIML/ABI.h.in
>> +++ b/Utilities/KWIML/ABI.h.in
>> @@ -255,6 +255,8 @@ suppression macro @KWIML at _ABI_NO_VERIFY was
>> defined.
>> # endif
>> # elif defined(__hpux) && !defined(__GNUC__) /* Old HP: no
>> __HP_cc/__HP_aCC above */
>> # define @KWIML at _ABI_SIZEOF_LONG_LONG 8
>> +# elif defined(__GNUC__)
>> +# define @KWIML at _ABI_SIZEOF_LONG_LONG 8
>
> How about
>
> +# 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?
Eike
More information about the cmake-developers
mailing list