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 d84c495 commit d310959Copy full SHA for d310959
tests/CMakeLists.txt
@@ -389,6 +389,9 @@ function(pybind11_enable_warnings target_name)
389
if(DEFINED CMAKE_CXX_STANDARD AND NOT CMAKE_CXX_STANDARD VERSION_LESS 20)
390
target_compile_options(${target_name} PRIVATE -Wpedantic)
391
endif()
392
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
393
+ target_compile_options(${target_name} PRIVATE -Wno-gnu-zero-variadic-macro-arguments)
394
+ endif()
395
396
397
if(PYBIND11_WERROR)
0 commit comments