From 08bcbadd40963fd8b78f8d6a603cd2bfd74a8151 Mon Sep 17 00:00:00 2001 From: conrad Date: Wed, 23 Apr 2025 14:05:24 +1000 Subject: [PATCH] add compile time warning --- include/armadillo_bits/config.hpp | 4 ++++ include/armadillo_bits/config.hpp.cmake | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/armadillo_bits/config.hpp b/include/armadillo_bits/config.hpp index 46d77bc2..3548b91a 100644 --- a/include/armadillo_bits/config.hpp +++ b/include/armadillo_bits/config.hpp @@ -303,6 +303,10 @@ #undef ARMA_64BIT_WORD #endif +#if (defined(ARMA_BLAS_LONG_LONG) && defined(ARMA_USE_WRAPPER)) + #pragma message ("WARNING: use of ARMA_BLAS_LONG_LONG in conjunction with ARMA_USE_WRAPPER is not supported") +#endif + // for compatibility with earlier versions of Armadillo #if defined(ARMA_BLAS_LONG) || defined(ARMA_BLAS_LONG_LONG) #undef ARMA_BLAS_64BIT_INT diff --git a/include/armadillo_bits/config.hpp.cmake b/include/armadillo_bits/config.hpp.cmake index 8bca46d8..b2b9e6f0 100644 --- a/include/armadillo_bits/config.hpp.cmake +++ b/include/armadillo_bits/config.hpp.cmake @@ -303,6 +303,10 @@ #undef ARMA_64BIT_WORD #endif +#if (defined(ARMA_BLAS_LONG_LONG) && defined(ARMA_USE_WRAPPER)) + #pragma message ("WARNING: use of ARMA_BLAS_LONG_LONG in conjunction with ARMA_USE_WRAPPER is not supported") +#endif + // for compatibility with earlier versions of Armadillo #if defined(ARMA_BLAS_LONG) || defined(ARMA_BLAS_LONG_LONG) #undef ARMA_BLAS_64BIT_INT