File tree 1 file changed +2
-11
lines changed
1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -190,17 +190,8 @@ elseif(MSVC)
190
190
append ("/GR- /EHs-c-" CMAKE_CXX_FLAGS )
191
191
append ("/D_HAS_EXCEPTIONS=0" CMAKE_CXX_FLAGS )
192
192
193
- # warning C4018: signed/unsigned mismatch
194
- # warning C4101: unreferenced local variable
195
- # warning C4102: unreferenced label
196
- # warning C4146: unary minus operator applied to unsigned type, result still unsigned
197
- # warning C4201: nonstandard extension used: nameless struct/union
198
- # warnings C4244 and C4267: conversion from '...' to '...', possible loss of data
199
- # warnings C4456-4459: declaration of '...' hides ...
200
- # warning C4624: destructor was implicitly defined as deleted because a base class destructor is inaccessible or deleted
201
- # warning C4800: forcing value to bool 'true' or 'false' (performance warning)
202
- # warning C4996: we're not using Microsoft's secure stringOp_s() functions
203
- append ("/wd4018 /wd4101 /wd4102 /wd4146 /wd4201 /wd4244 /wd4267 /wd4456 /wd4457 /wd4458 /wd4459 /wd4624 /wd4800 /wd4996" LDC_CXXFLAGS)
193
+ # disable warning C4201: nonstandard extension used: nameless struct/union
194
+ append ("/wd4201" LDC_CXXFLAGS)
204
195
endif ()
205
196
# Append -mminimal-toc for gcc 4.0.x - 4.5.x on ppc64
206
197
if ( CMAKE_COMPILER_IS_GNUCXX
You can’t perform that action at this time.
0 commit comments