Skip to content

Commit 8351aaf

Browse files
C4668: Disable warning C4668 around <limits.h>.
VSO-1985428 "`<limits.h>` emits warning C4668: `'__STDC_WANT_SECURE_LIB__'` is not defined as a preprocessor macro, replacing with `'0'` for `'#if/#elif'`"
1 parent c74dc1f commit 8351aaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: stl/inc/climits

+3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
#include <yvals_core.h>
99
#if _STL_COMPILER_PREPROCESSOR
1010

11+
#pragma warning(push) // TRANSITION, VSO-1985428
12+
#pragma warning(disable : 4668) // 'MEOW' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1113
#include <limits.h>
14+
#pragma warning(pop)
1215

1316
#endif // _STL_COMPILER_PREPROCESSOR
1417
#endif // _CLIMITS_

0 commit comments

Comments
 (0)