mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 15:29:45 +00:00
pythonbuf fix (#2675)
* Added test_thread testing for ostream_redirect segfault recreation
* fix: scoped_ostream_redirect str created outside gil
* Moved threading tests into test_iostream. Cleaned up some formatting. Deleted test_thread.{cpp,py}
* CI: few formatting fixes
* CI: yet another formatting fix
* CI: more formatting fixes. Removed unecessary comment
* Ignore 'warning C4702: unreachable code' in MSVC 2015
Co-authored-by: Nick Bridge <nick.bridge.chess@gmail.com>
Co-authored-by: Nick Bridge <nbridge@jumptrading.com>
Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
BSD-style license that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1910
|
||||
# pragma warning(disable: 4702) // unreachable code in system header
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1910 // VS 2015's MSVC
|
||||
# pragma warning(disable: 4702) // unreachable code in system header (xatomic.h(382))
|
||||
#endif
|
||||
|
||||
#include "pybind11_tests.h"
|
||||
|
||||
Reference in New Issue
Block a user