mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:57:58 +02: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
|
#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
|
#else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue