File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -780,6 +780,7 @@ function(add_mlir_python_extension libname extname)
780780 nanobind_add_module(${libname}
781781 NB_DOMAIN ${MLIR_BINDINGS_PYTHON_NB_DOMAIN}
782782 FREE_THREADED
783+ NB_SUPPRESS_WARNINGS
783784 ${ARG_SOURCES}
784785 )
785786
@@ -792,25 +793,13 @@ function(add_mlir_python_extension libname extname)
792793 target_compile_options (${NB_LIBRARY_TARGET_NAME}
793794 PRIVATE
794795 -Wall -Wextra -Wpedantic
795- -Wno-c++98-compat-extra-semi
796796 -Wno-cast-qual
797- -Wno-covered-switch-default
798- -Wno-deprecated-literal-operator
799- -Wno-nested-anon-types
800- -Wno-unused-parameter
801- -Wno-zero-length -array
802797 ${eh_rtti_enable} )
803798
804799 target_compile_options (${libname}
805800 PRIVATE
806801 -Wall -Wextra -Wpedantic
807- -Wno-c++98-compat-extra-semi
808802 -Wno-cast-qual
809- -Wno-covered-switch-default
810- -Wno-deprecated-literal-operator
811- -Wno-nested-anon-types
812- -Wno-unused-parameter
813- -Wno-zero-length -array
814803 ${eh_rtti_enable} )
815804 endif ()
816805
You can’t perform that action at this time.
0 commit comments