We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37bbf1 commit 27e0ad0Copy full SHA for 27e0ad0
include/pybind11/detail/common.h
@@ -944,7 +944,7 @@ inline void silence_unused_warnings(Args &&...) {}
944
#if defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
945
# define PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER(...) \
946
detail::silence_unused_warnings(__VA_ARGS__)
947
-# if defined(__GNUC__) && __GNUC__ <= 7
+# if defined(__GNUC__) && __GNUC__ <= 2
948
# define PYBIND11_WORKAROUND_INCORRECT_OLD_GCC_UNUSED_BUT_SET_PARAMETER(...) \
949
950
# else
0 commit comments