Skip to content

Commit 7d3cde8

Browse files
author
Y_Less
committed
Disable -E+ on test builds.
1 parent 9bb5fd0 commit 7d3cde8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

YSI_Core/y_core/y_compilerdata.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ const __CompilerDefault:__COMPILER_DEFAULT = __CompilerDefault:0;
251251
252252
#if __COMPILER_MODIFIED
253253
#if defined YSI_TESTS
254+
#pragma option -E-
255+
254256
#define Y_COMPILERDATA_WARNING 0
255257
#include "y_compilerdata_warning"
256258
#endif
@@ -547,7 +549,7 @@ const __CompilerDefault:__COMPILER_DEFAULT = __CompilerDefault:0;
547549
#define __COMPILER_CELL_BITS cellbits
548550
#define __COMPILER_CHAR_BITS charbits
549551
550-
// How much to adjust a cellcount by to get a byte count.
552+
// How much to adjust a cell count by to get a byte count.
551553
#if cellbits == 8
552554
#define __COMPILER_CELL_SHIFT (0)
553555
#elseif cellbits == 16

0 commit comments

Comments
 (0)