summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-01-05 21:09:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-01-05 21:10:40 +0100
commitbe0dc76b8f2db1a1a7ccc782a6c388193f4cf3ce (patch)
tree8d736eeab2f567b800687bf44bcd60bdefc4fae7
parentb5849f310b1ef5f875ea14b815ee52e3f9d60600 (diff)
cmake: disable another warning
-rw-r--r--cmake/opentrack-platform.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index 34387d56..005f8a4b 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -154,8 +154,9 @@ if(MSVC)
#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
#C4200: nonstandard extension used: zero-sized array in struct/union
+ #C4459: declaration of 'eps' hides global declaration
- set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100 4702 4457 4200)
+ set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100 4702 4457 4200 4459)
foreach(i ${warns-disable})
add_compile_options(-wd${i})