diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-30 20:46:04 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-30 20:46:04 +0200 |
commit | ce06b6855216606186dc707955aab5af4f230ed6 (patch) | |
tree | 7453e53f2257792e1071bb68f30ee9dc1e80968f | |
parent | 3dd0ce91bed63c39722b53dee45c1ddbc306e289 (diff) |
cmake/msvc: don't warn on charset includes
They're in dependencies.
-rw-r--r-- | cmake/msvc.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 3a86aa28..b5d4b468 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -17,7 +17,8 @@ set(cc "/O2it /Ob2 /fp:fast /GS- /GF /GL /Gw /Gy") set(warns_ "") #C4244: 'return': conversion from '__int64' to 'long', possible loss of data -set(warns-disable 4530 4577 4789 4244) +#C4828: The file contains a character starting at offset 0x2763 that is illegal in the current source character set (codepage 65001). +set(warns-disable 4530 4577 4789 4244 4828) foreach(i ${warns-disable}) set(warns_ "${warns_} /wd${i}") @@ -28,7 +29,6 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack") #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 4263 4264 4266 4928) |