Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537)

Build all
This commit is contained in:
ocornut
2022-01-17 11:53:03 +01:00
parent f84c93d834
commit eb823655af
4 changed files with 4 additions and 19 deletions

View File

@ -92,6 +92,7 @@ Index of this file:
// Visual Studio warnings
#ifdef _MSC_VER
#pragma warning (disable: 4127) // condition expression is constant
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2).
#endif