Open
Description
Describe the bug
Building SciPy with clang 17 on macOS Sequoia 15.4 generates a wall of warnings like
[869/1447] Compiling C++ object subprojects/highs/src/libhighs.a.p/pdlp_CupdlpWrapper.cpp.o
In file included from ../subprojects/highs/src/pdlp/CupdlpWrapper.cpp:15:
In file included from ../subprojects/highs/src/pdlp/CupdlpWrapper.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1821:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:48:6: warning: "_LIBCPP_ENABLE_ASSERTIONS is deprecated, please use _LIBCPP_HARDENING_MODE instead" [-W#warnings]
48 | # warning "_LIBCPP_ENABLE_ASSERTIONS is deprecated, please use _LIBCPP_HARDENING_MODE instead"
| ^
1 warning generated.
@andyfaff pointed out that https://github.com/mesonbuild/meson/blob/master/mesonbuild/compilers/cpp.py#L520C1-L532C57 looks relevant.
To Reproduce
https://github.com/scipy/scipy/blob/main/meson.build
Expected behavior
No warnings
system parameters
@andyfaff should be able to provide more system info if required
cc @thesamesam
Metadata
Metadata
Assignees
Labels
No labels