Skip to content

Commit eab8ebe

Browse files
rickyvikingcdunn2001
authored andcommitted
Disable also Visual Studio warning C4275 (std::exception used as base class in dll-interface class) when building as DLL and JSONCPP_DISABLE_DLL_INTERFACE_WARNING is defined.
1 parent fe9663e commit eab8ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/json/value.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// be used by...
5151
#if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)
5252
#pragma warning(push)
53-
#pragma warning(disable : 4251)
53+
#pragma warning(disable : 4251 4275)
5454
#endif // if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)
5555

5656
#pragma pack(push, 8)

0 commit comments

Comments
 (0)