File tree 2 files changed +6
-3
lines changed 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 7
7
BSD-style license that can be found in the LICENSE file.
8
8
*/
9
9
10
+ #if defined(_MSC_VER) && _MSC_VER < 1910 // VS 2015's MSVC
11
+ # pragma warning(disable: 4702) // unreachable code in system header (xatomic.h(382))
12
+ #endif
10
13
11
14
#include < pybind11/iostream.h>
12
15
#include " pybind11_tests.h"
@@ -44,7 +47,7 @@ struct TestThread {
44
47
delete t_;
45
48
}
46
49
47
- void stop () { stop_ = 1 ; }
50
+ void stop () { stop_ = true ; }
48
51
49
52
void join () {
50
53
py::gil_scoped_release gil_lock;
Original file line number Diff line number Diff line change 8
8
BSD-style license that can be found in the LICENSE file.
9
9
*/
10
10
11
- #if defined(_MSC_VER) && _MSC_VER < 1910
12
- # pragma warning(disable: 4702) // unreachable code in system header
11
+ #if defined(_MSC_VER) && _MSC_VER < 1910 // VS 2015's MSVC
12
+ # pragma warning(disable: 4702) // unreachable code in system header (xatomic.h(382))
13
13
#endif
14
14
15
15
#include " pybind11_tests.h"
You can’t perform that action at this time.
0 commit comments