-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Adding a workaround for pybind bug: pybind/pybind11#5224
Opening this issue here to ensure we remember to remove the workaround again after the issue is hopefully fixed upstream.
--- a/src/_simple_build_system/data/cmake/ExtDep_pybind11.cmake
+++ b/src/_simple_build_system/data/cmake/ExtDep_pybind11.cmake
@@ -51,6 +51,10 @@ function( detect_system_pybind11
strip_cpp_version_flags( module_cflags )
strip_cpp_version_flags( embed_cflags )
+ #Temporary workaround (see https://github.com/pybind/pybind11/issues/5224):
+ list(APPEND embed_cflags "-Wno-array-bounds -Wno-stringop-overread")
+ list(APPEND module_cflags "-Wno-array-bounds -Wno-stringop-overread")
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file