mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Implement Visual C warnings suppression
This commit is contained in:
parent
27fbc4ec16
commit
ab95528e25
1 changed files with 4 additions and 1 deletions
|
@ -37,8 +37,11 @@
|
|||
|
||||
#elif OVERTE_WARNINGS_WHITELIST_MSVC
|
||||
|
||||
// Nothing here yet. Avoids problems with the #warning below, MSVC doesn't like it.
|
||||
#define OVERTE_IGNORE_DEPRECATED_BEGIN \
|
||||
_Pragma("warning(push)") \
|
||||
_Pragma("warning(disable : 4996)")
|
||||
|
||||
#define OVERTE_IGNORE_DEPRECATED_END _Pragma("warning(pop)")
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Reference in a new issue