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 6d15c04 commit 7ade984Copy full SHA for 7ade984
tests/CMakeLists.txt
@@ -406,15 +406,13 @@ function(pybind11_enable_warnings target_name)
406
${target_name}
407
PRIVATE -Wall
408
-Wextra
409
+ -Wpedantic
410
-Wconversion
411
-Wcast-qual
412
-Wdeprecated
413
-Wundef
414
-Wnon-virtual-dtor)
415
target_link_options(${target_name} PRIVATE -Werror -Wodr -Wlto-type-mismatch)
- if(DEFINED CMAKE_CXX_STANDARD AND NOT CMAKE_CXX_STANDARD VERSION_LESS 14)
416
- target_compile_options(${target_name} PRIVATE -Wpedantic)
417
- endif()
418
endif()
419
420
if(PYBIND11_WERROR)
0 commit comments