From 7d3cde8f003de611d763c20c1865e72a638feb29 Mon Sep 17 00:00:00 2001 From: Y_Less Date: Sun, 21 Nov 2021 21:37:27 +0100 Subject: [PATCH] Disable `-E+` on test builds. --- YSI_Core/y_core/y_compilerdata.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/YSI_Core/y_core/y_compilerdata.inc b/YSI_Core/y_core/y_compilerdata.inc index a423b7092..802126d9f 100644 --- a/YSI_Core/y_core/y_compilerdata.inc +++ b/YSI_Core/y_core/y_compilerdata.inc @@ -251,6 +251,8 @@ const __CompilerDefault:__COMPILER_DEFAULT = __CompilerDefault:0; #if __COMPILER_MODIFIED #if defined YSI_TESTS + #pragma option -E- + #define Y_COMPILERDATA_WARNING 0 #include "y_compilerdata_warning" #endif @@ -547,7 +549,7 @@ const __CompilerDefault:__COMPILER_DEFAULT = __CompilerDefault:0; #define __COMPILER_CELL_BITS cellbits #define __COMPILER_CHAR_BITS charbits -// How much to adjust a cellcount by to get a byte count. +// How much to adjust a cell count by to get a byte count. #if cellbits == 8 #define __COMPILER_CELL_SHIFT (0) #elseif cellbits == 16