File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -780,6 +780,7 @@ function(add_mlir_python_extension libname extname)
780
780
nanobind_add_module(${libname}
781
781
NB_DOMAIN ${MLIR_BINDINGS_PYTHON_NB_DOMAIN}
782
782
FREE_THREADED
783
+ NB_SUPPRESS_WARNINGS
783
784
${ARG_SOURCES}
784
785
)
785
786
@@ -792,25 +793,12 @@ function(add_mlir_python_extension libname extname)
792
793
target_compile_options (${NB_LIBRARY_TARGET_NAME}
793
794
PRIVATE
794
795
-Wall -Wextra -Wpedantic
795
- -Wno-c++98-compat-extra-semi
796
796
-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
802
797
${eh_rtti_enable} )
803
798
804
799
target_compile_options (${libname}
805
800
PRIVATE
806
801
-Wall -Wextra -Wpedantic
807
- -Wno-c++98-compat-extra-semi
808
- -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
814
802
${eh_rtti_enable} )
815
803
endif ()
816
804
You can’t perform that action at this time.
0 commit comments