aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-07-21 09:59:57 +0200
committerStefan Boberg <[email protected]>2022-07-21 09:59:57 +0200
commit35f33fc82c270c2ce5135e49550631fb988ca225 (patch)
tree8b274136a0eebfb8611314c8028d079554014790
parentRemove PutCacheRecordRequest::RecordBody and GetCacheRecordResult:RecordBody ... (diff)
downloadzen-35f33fc82c270c2ce5135e49550631fb988ca225.tar.xz
zen-35f33fc82c270c2ce5135e49550631fb988ca225.zip
added suppression of warning C4189 to work around problems in fmt
-rw-r--r--zencore/include/zencore/zencore.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 1e5689d87..aeab46a75 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -73,10 +73,11 @@
#ifndef ZEN_THIRD_PARTY_INCLUDES_START
# if ZEN_COMPILER_MSC
# define ZEN_THIRD_PARTY_INCLUDES_START \
- __pragma(warning(push)) __pragma(warning(disable : 4668)) /* use of undefined preprocessor macro */ \
- __pragma(warning(disable : 4305)) /* 'if': truncation from 'uint32' to 'bool' */ \
- __pragma(warning(disable : 4267)) /* '=': conversion from 'size_t' to 'US' */ \
- __pragma(warning(disable : 4127)) /* conditional expression is constant */
+ __pragma(warning(push)) __pragma(warning(disable : 4668)) /* C4668: use of undefined preprocessor macro */ \
+ __pragma(warning(disable : 4305)) /* C4305: 'if': truncation from 'uint32' to 'bool' */ \
+ __pragma(warning(disable : 4267)) /* C4267: '=': conversion from 'size_t' to 'US' */ \
+ __pragma(warning(disable : 4127)) /* C4127: conditional expression is constant */ \
+ __pragma(warning(disable : 4189)) /* C4189: local variable is initialized but not referenced */
# elif ZEN_COMPILER_CLANG
# define ZEN_THIRD_PARTY_INCLUDES_START \
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wundef\"") \