Fixed warning C6326: Potential comparison of a constant with another constant.
parent
c9b243fb56
commit
0dad56354c
|
@ -44,7 +44,11 @@
|
|||
#define HAVE_GCC_DIAGNOSTIC_PRAGMA 1
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER // SDL_MAX_SMALL_ALLOC_STACKSIZE is smaller than _ALLOCA_S_THRESHOLD and should be generally safe
|
||||
#ifdef _MSC_VER /* We use constant comparison for generated code */
|
||||
#pragma warning(disable : 6326)
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER /* SDL_MAX_SMALL_ALLOC_STACKSIZE is smaller than _ALLOCA_S_THRESHOLD and should be generally safe */
|
||||
#pragma warning(disable : 6255)
|
||||
#endif
|
||||
#define SDL_MAX_SMALL_ALLOC_STACKSIZE 128
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
#ifdef _MSC_VER /* Visual Studio analyzer can't tell that we're building this with different constants */
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 6239)
|
||||
#pragma warning(disable : 6326)
|
||||
#endif
|
||||
|
||||
void STD_FUNCTION_NAME(
|
||||
|
|
Loading…
Reference in New Issue