Skip to content

Commit

Permalink
Revert "fix: ignore -Wgnu-zero-variadic-macro-arguments on clang"
Browse files Browse the repository at this point in the history
This reverts commit d310959.
  • Loading branch information
rwgk committed Nov 29, 2024
1 parent d310959 commit 1a04f75
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ function(pybind11_enable_warnings target_name)
if(DEFINED CMAKE_CXX_STANDARD AND NOT CMAKE_CXX_STANDARD VERSION_LESS 20)
target_compile_options(${target_name} PRIVATE -Wpedantic)
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(${target_name} PRIVATE -Wno-gnu-zero-variadic-macro-arguments)
endif()
endif()

if(PYBIND11_WERROR)
Expand Down

0 comments on commit 1a04f75

Please sign in to comment.