From 86ac9ef64b4b7eeaa02aa556fc9413407056fa26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 24 Aug 2014 22:30:07 -0700 Subject: [PATCH] Disabled reference implementation warning. --- include/bx/float4_t.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/bx/float4_t.h b/include/bx/float4_t.h index 7930c5b..4538aa5 100644 --- a/include/bx/float4_t.h +++ b/include/bx/float4_t.h @@ -18,7 +18,14 @@ #elif 0 // BX_COMPILER_CLANG # include "float4_langext.h" #else -# pragma message("************************************\nUsing SIMD reference implementation!\n************************************") +# ifndef BX_FLOAT4_WARN_REFERENCE_IMPL +# define BX_FLOAT4_WARN_REFERENCE_IMPL 0 +# endif // BX_FLOAT4_WARN_REFERENCE_IMPL + +# if BX_FLOAT4_WARN_REFERENCE_IMPL +# pragma message("************************************\nUsing SIMD reference implementation!\n************************************") +# endif // BX_FLOAT4_WARN_REFERENCE_IMPL + # include "float4_ref.h" #endif //