[cmake-developers] CMake build error on Haiku

Brad King brad.king at kitware.com
Tue Jan 8 14:41:29 EST 2013


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

?

Thanks,
-Brad



More information about the cmake-developers mailing list