Skip to content

Commit

Permalink
Disable also Visual Studio warning C4275 (std::exception used as base…
Browse files Browse the repository at this point in the history
… class in dll-interface class) when building as DLL and JSONCPP_DISABLE_DLL_INTERFACE_WARNING is defined.
  • Loading branch information
rickyviking authored and cdunn2001 committed Jan 10, 2021
1 parent fe9663e commit eab8ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/json/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
// be used by...
#if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)
#pragma warning(push)
#pragma warning(disable : 4251)
#pragma warning(disable : 4251 4275)
#endif // if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)

#pragma pack(push, 8)
Expand Down

0 comments on commit eab8ebe

Please sign in to comment.