Open tkittel opened 3 months ago
Adding a workaround for pybind bug: https://github.com/pybind/pybind11/issues/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")
Adding a workaround for pybind bug: https://github.com/pybind/pybind11/issues/5224
Opening this issue here to ensure we remember to remove the workaround again after the issue is hopefully fixed upstream.