summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-19 13:46:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:31:24 +0100
commita79dadf11ad3a882e2cbf5f94934ceaf7f4f015d (patch)
tree783c2fc0726ae524f67420e2429f4b09002f00c3
parent7b7990fb42ff8bd1c76f114a12b6cbf53a478108 (diff)
cmake/msvc: move comment
-rw-r--r--cmake/msvc.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index 651d8075..d606aa39 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -18,18 +18,18 @@ set(cc "${cc} -FS -arch:SSE2 -D_HAS_EXCEPTIONS=0")
#set(cc "${cc} -Qvec-report:1")
set(warns_ "")
+
+#C4457: declaration of 'id' hides function parameter
+#C4456: declaration of 'i' hides previous local declaration
+#C4263 - member function does not override any base class virtual member function
+#C4264 - no override available for virtual member function from base class, function is hidden
+#C4265 - class has virtual functions, but destructor is not virtual
+#C4266 - no override available for virtual member function from base type, function is hidden
+#C4928 - illegal copy-initialization, more than one user-defined conversion has been implicitly applied
set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100 4702 4457)
if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
include("${CMAKE_CURRENT_LIST_DIR}/opentrack-policy.cmake" NO_POLICY_SCOPE)
- #C4457: declaration of 'id' hides function parameter
- #C4456: declaration of 'i' hides previous local declaration
- #C4263 - member function does not override any base class virtual member function
- #C4264 - no override available for virtual member function from base class, function is hidden
- #C4265 - class has virtual functions, but destructor is not virtual
- #C4266 - no override available for virtual member function from base type, function is hidden
- #C4928 - illegal copy-initialization, more than one user-defined conversion has been implicitly applied
-
foreach(k CMP0020 CMP0022 CMP0058 CMP0028 CMP0042 CMP0063 CMP0053 CMP0011 CMP0054 CMP0012)
if(POLICY ${k})
cmake_policy(SET ${k} NEW)