summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-05 15:33:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-05 15:43:16 +0100
commit60332d17f567e56d18234e679b6908d86cdb69c3 (patch)
treea8ef984d2ebe17e6df5c3800400d8026d5a5e1fc
parent20c538f61fe2c0adeb6a3718dae4728b50f8391d (diff)
external: disable more noisy warnings on msvc
-rw-r--r--external/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 863495ab..e258fa87 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -39,10 +39,12 @@ if(MSVC)
-wd4312 # warning C4312: 'reinterpret_cast': conversion from 'GLenum' to 'void *' of greater size
-wd4251 # warning C4251: 't::f': class 'x' needs to have dll-interface to be used by clients of class 'y'
-wd4456 # warning C4456: declaration of 'x' hides previous local declaration
- -wd4457 # #warning C4457: declaration of 'name' hides function parameter
- #-wd4530 # warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
+ -wd4457 # warning C4457: declaration of 'name' hides function parameter
-wd4244 # warning C4244: 'initializing': conversion from 'unsigned int' to '_Ty', possible loss of data
-wd4005 # warning C4005: '_USE_MATH_DEFINES': macro redefinition
+ -wd4910 # warning C4910: '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
+ -wd4661 # warning C4661: no suitable definition provided for explicit template instantiation request
+ -wd4267 # warning C4267: 'initializing': conversion from 'size_t' to '_Ty2', possible loss of data
)
else()
add_compile_options(