Skip to content

Commit 95dd29b

Browse files
author
Daniel Blanchard
committed
BUG#32045647: FIX WINDOWS C4251 COMPILER WARNINGS
Suppress benign MSVC C4251 warnings. The warnings that are suppressed come from Google Protocol Buffers code. According to the readme file at https://github.com/protocolbuffers/protobuf/blob/master/cmake/README.md these C4251 warnings can be disabled. Change-Id: Id0bddd889d6c682edb198739610c28754d6fa5ac
1 parent db3ddfa commit 95dd29b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/immutable_string.h

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
MY_COMPILER_DIAGNOSTIC_PUSH()
4646
MY_COMPILER_GCC_DIAGNOSTIC_IGNORE("-Wsuggest-override")
4747
MY_COMPILER_CLANG_DIAGNOSTIC_IGNORE("-Wdeprecated-dynamic-exception-spec")
48+
MY_COMPILER_MSVC_DIAGNOSTIC_IGNORE(4251)
4849
#include <google/protobuf/io/coded_stream.h>
4950
MY_COMPILER_DIAGNOSTIC_POP()
5051

0 commit comments

Comments
 (0)