File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -943,15 +943,8 @@ inline void silence_unused_warnings(Args &&...) {}
943
943
#if defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
944
944
# define PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER (...) \
945
945
detail::silence_unused_warnings (__VA_ARGS__)
946
- # if defined(__GNUC__) && __GNUC__ <= 5 // 4 is certain, 5 unknown, 6 is certain
947
- # define PYBIND11_WORKAROUND_INCORRECT_OLD_GCC_UNUSED_BUT_SET_PARAMETER (...) \
948
- detail::silence_unused_warnings (__VA_ARGS__)
949
- # else
950
- # define PYBIND11_WORKAROUND_INCORRECT_OLD_GCC_UNUSED_BUT_SET_PARAMETER (...)
951
- # endif
952
946
#else
953
947
# define PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER (...)
954
- # define PYBIND11_WORKAROUND_INCORRECT_OLD_GCC_UNUSED_BUT_SET_PARAMETER (...)
955
948
#endif
956
949
957
950
#if defined(_MSC_VER) // All versions (as of July 2021).
You can’t perform that action at this time.
0 commit comments