diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0173bf8..ebd8260 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -162,17 +162,21 @@ if(MSVC) | |||
162 | set(MSVC_DISABLED_WARNINGS_LIST | 162 | set(MSVC_DISABLED_WARNINGS_LIST |
163 | "C4018" # 'expression' : signed/unsigned mismatch | 163 | "C4018" # 'expression' : signed/unsigned mismatch |
164 | "C4057" # 'operator' : 'identifier1' indirection to | 164 | "C4057" # 'operator' : 'identifier1' indirection to |
165 | # slightly different base types from 'identifier2' | 165 | # slightly different base types from 'identifier2' |
166 | "C4100" # 'identifier' : unreferenced formal parameter | 166 | "C4100" # 'identifier' : unreferenced formal parameter |
167 | "C4127" # conditional expression is constant | 167 | "C4127" # conditional expression is constant |
168 | "C4132" # 'object' : const object should be initialized | ||
168 | "C4146" # unary minus operator applied to unsigned type, | 169 | "C4146" # unary minus operator applied to unsigned type, |
169 | # result still unsigned | 170 | # result still unsigned |
171 | "C4206" # nonstandard extension used : translation unit is empty | ||
170 | "C4244" # 'argument' : conversion from 'type1' to 'type2', | 172 | "C4244" # 'argument' : conversion from 'type1' to 'type2', |
171 | # possible loss of data | 173 | # possible loss of data |
172 | "C4245" # 'conversion' : conversion from 'type1' to 'type2', | 174 | "C4245" # 'conversion' : conversion from 'type1' to 'type2', |
173 | # signed/unsigned mismatch | 175 | # signed/unsigned mismatch |
174 | "C4267" # 'var' : conversion from 'size_t' to 'type', | 176 | "C4267" # 'var' : conversion from 'size_t' to 'type', |
175 | # possible loss of data | 177 | # possible loss of data |
178 | "C4295" # 'array' : array is too small to include a terminating | ||
179 | # null character | ||
176 | "C4389" # 'operator' : signed/unsigned mismatch | 180 | "C4389" # 'operator' : signed/unsigned mismatch |
177 | "C4706" # assignment within conditional expression | 181 | "C4706" # assignment within conditional expression |
178 | "C4996" # The POSIX name for this item is deprecated. | 182 | "C4996" # The POSIX name for this item is deprecated. |