aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-07-21 09:59:57 +0200
committerStefan Boberg <[email protected]>2022-07-21 10:57:42 +0200
commit19063c34e66d37e33bcf63c69536116ed687b41e (patch)
tree68b2600027298bf43cebdc188257e1b1bfb0199a /zencore/include
parentRemove PutCacheRecordRequest::RecordBody and GetCacheRecordResult:RecordBody ... (diff)
downloadzen-19063c34e66d37e33bcf63c69536116ed687b41e.tar.xz
zen-19063c34e66d37e33bcf63c69536116ed687b41e.zip
added suppression of warning C4189 to work around problems in fmt
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/zencore.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 1e5689d87..db089d9ea 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -72,11 +72,12 @@
#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 */
+# define ZEN_THIRD_PARTY_INCLUDES_START \
+ __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\"") \