We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e52a4 commit 85dd61cCopy full SHA for 85dd61c
include/pybind11/detail/common.h
@@ -913,11 +913,12 @@ inline static std::shared_ptr<T> try_get_shared_from_this(std::enable_shared_fro
913
#endif
914
}
915
916
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && _MSC_VER <= 1916
917
inline constexpr void workaround_incorrect_msvc_c4100(...) {}
918
-#define PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(...) detail::workaround_incorrect_msvc_c4100(__VA_ARGS__)
+# define PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(...) \
919
+ detail::workaround_incorrect_msvc_c4100(__VA_ARGS__)
920
#else
-#define PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(...)
921
+# define PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(...)
922
923
924
PYBIND11_NAMESPACE_END(detail)
0 commit comments