Skip to content

Commit

Permalink
Disable -E+ on test builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Y_Less committed Nov 21, 2021
1 parent 9bb5fd0 commit 7d3cde8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion YSI_Core/y_core/y_compilerdata.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7d3cde8

Please sign in to comment.