mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-11-10 03:44:53 -08:00
Ed_
dc43db117c
I'm splitting this implementation into parts since so much already happened... I fully updated the code the the latest convention I want to use for the project. Engine & Game replay should work.
28 lines
1.5 KiB
C++
28 lines
1.5 KiB
C++
#ifdef _MSC_VER
|
|
#pragma warning( disable: 4201 ) // Support for non-standard nameless struct or union extesnion
|
|
#pragma warning( disable: 4100 ) // Support for unreferenced formal parameters
|
|
#pragma warning( disable: 4800 ) // Support implicit conversion to bools
|
|
#pragma warning( disable: 4365 ) // Support for signed/unsigned mismatch auto-conversion
|
|
#pragma warning( disable: 4189 ) // Support for unused variables
|
|
#pragma warning( disable: 4514 ) // Support for unused inline functions
|
|
#pragma warning( disable: 4505 ) // Support for unused static functions
|
|
#pragma warning( disable: 5045 ) // Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
|
|
#pragma warning( disable: 5264 ) // Support for 'const' variables unused
|
|
#pragma warning( disable: 4820 ) // Support auto-adding padding to structs
|
|
#pragma warning( disable: 4711 ) // Support automatic inline expansion
|
|
#pragma warning( disable: 4710 ) // Support automatic inline expansion
|
|
#pragma warning( disable: 4805 ) // Support comparisons of s32 to bool.
|
|
#endif
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Wunused-const-variable"
|
|
#pragma clang diagnostic ignored "-Wswitch"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#pragma clang diagnostic ignored "-Wunused-local-typedef"
|
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
#pragma clang diagnostic ignored "-Wvarargs"
|
|
#pragma clang diagnostic ignored "-Wunused-function"
|
|
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
|
|
#endif
|