aboutsummaryrefslogtreecommitdiff
path: root/zencore
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-24 13:22:06 +0200
committerStefan Boberg <[email protected]>2021-10-24 13:22:06 +0200
commitb7800f89d20491f998471324a6e450ac2e64c0b8 (patch)
tree1f616cd47ad2a4c871ab1c58025543d9fde30091 /zencore
parentclang-format (diff)
downloadzen-b7800f89d20491f998471324a6e450ac2e64c0b8.tar.xz
zen-b7800f89d20491f998471324a6e450ac2e64c0b8.zip
general: Fixed up some vcxproj files which had a warning level set
Thus they did not get the same settings as all other projects which made it easy to introduce warnings which would trigger in xmake builds Cleaned up some #include usage to use third-party include brackets
Diffstat (limited to 'zencore')
-rw-r--r--zencore/include/zencore/zencore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 3367b39ef..6b9a0f658 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -63,11 +63,12 @@
#if ZEN_COMPILER_MSC
# pragma warning(disable : 4324) // warning C4324: '<type>': structure was padded due to alignment specifier
# pragma warning(default : 4668) // warning C4668: 'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives'
+# pragma warning(default : 4100) // warning C4100: 'identifier' : unreferenced formal parameter
#endif
#ifndef ZEN_THIRD_PARTY_INCLUDES_START
# if ZEN_COMPILER_MSC
-# define ZEN_THIRD_PARTY_INCLUDES_START __pragma(warning(push)) __pragma(warning(disable : 4668))
+# define ZEN_THIRD_PARTY_INCLUDES_START __pragma(warning(push)) __pragma(warning(disable : 4668 4127))
# else
# define ZEN_THIRD_PARTY_INCLUDES_START
# endif