File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4646#include " gtest/gtest-message.h"
4747#include " gtest/internal/gtest-port.h"
4848
49+ GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251 \
50+ /* class A needs to have dll-interface to be used by clients of class B */ )
51+
4952namespace testing {
5053
5154// A class for indicating whether an assertion was successful. When
@@ -229,4 +232,6 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
229232
230233} // namespace testing
231234
235+ GTEST_DISABLE_MSC_WARNINGS_POP_ () // 4251
236+
232237#endif // GOOGLETEST_INCLUDE_GTEST_GTEST_ASSERTION_RESULT_H_
Original file line number Diff line number Diff line change @@ -1200,6 +1200,9 @@ class GTEST_API_ AutoHandle {
12001200// Nothing to do here.
12011201
12021202#else
1203+ GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251 \
1204+ /* class A needs to have dll-interface to be used by clients of class B */ )
1205+
12031206// Allows a controller thread to pause execution of newly created
12041207// threads until notified. Instances of this class must be created
12051208// and destroyed in the controller thread.
@@ -1233,6 +1236,7 @@ class GTEST_API_ Notification {
12331236 std::condition_variable cv_;
12341237 bool notified_;
12351238};
1239+ GTEST_DISABLE_MSC_WARNINGS_POP_ () // 4251
12361240#endif // GTEST_HAS_NOTIFICATION_
12371241
12381242// On MinGW, we can have both GTEST_OS_WINDOWS and GTEST_HAS_PTHREAD
You can’t perform that action at this time.
0 commit comments