Skip to content

Commit d31a15f

Browse files
committed
minor: suppress some more spurious windows warnings
1 parent 1a85e8b commit d31a15f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bsoncxx/config/compiler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// Disable MSVC warnings that cause a lot of noise related to DLL visibility
1818
// for types that we don't control (like std::unique_ptr).
1919
#pragma warning(push)
20-
#pragma warning(disable: 4251)
20+
#pragma warning(disable: 4251 4275)
2121

2222
#define BSONCXX_INLINE inline __forceinline BSONCXX_PRIVATE
2323

src/mongocxx/config/compiler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// Disable MSVC warnings that cause a lot of noise related to DLL visibility
2020
// for types that we don't control (like std::unique_ptr).
2121
#pragma warning(push)
22-
#pragma warning(disable: 4251)
22+
#pragma warning(disable: 4251 4275)
2323

2424
#define MONGOCXX_INLINE inline __forceinline MONGOCXX_PRIVATE
2525

0 commit comments

Comments
 (0)