diff options
| author | Charlie Li <vishwin@FreeBSD.org> | 2026-04-05 14:48:44 +0000 |
|---|---|---|
| committer | Charlie Li <vishwin@FreeBSD.org> | 2026-04-05 14:51:30 +0000 |
| commit | 634b014274a6dc38252bc1239007da72664307a5 (patch) | |
| tree | da70fa26df0cd6ba85adf000d8a3301f725d11bf /math/p5-Math-Symbolic-Custom-CCompiler/pkg-plist | |
| parent | 8258407320d8766e764e72a3d75b3a279eab763a (diff) | |
Leads to breakages like math/py-nlopt:
[ 98%] Building CXX object extern/nlopt/src/swig/CMakeFiles/nlopt_python.dir/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx.o
/wrkdirs/usr/ports/math/py-nlopt/work-py311/nlopt-python-2.9.1/build/temp.freebsd-14.3-RELEASE-p10-i386-cpython-311/extern/nlopt/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:15325:3: error: cannot initialize return object of type 'int' with an rvalue of type 'std::nullptr_t'
15325 | import_array();
| ^~~~~~~~~~~~~~
/usr/local/lib/python3.11/site-packages/numpy/core/include/numpy/__multiarray_api.h:1558:151: note: expanded from macro 'import_array'
1558 | #define import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); return NULL; } }
| ^~~~
/usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL'
35 | #define NULL nullptr
| ^~~~~~~
1 error generated.
Reported by: diizzy, fallout
Diffstat (limited to 'math/p5-Math-Symbolic-Custom-CCompiler/pkg-plist')
0 files changed, 0 insertions, 0 deletions
