Closed thierry-FreeBSD closed 11 months ago
Hello,
Thanks for the bug report. I actually has the same issue 2 days ago with the Intel OneAPI compilers, so I pushed a fix using casts (part of https://github.com/code-saturne/code_saturne/commit/2006c41867d74d1b901b76302551631f630078c7, then https://github.com/code-saturne/code_saturne/commit/6c629d6d65f0c20bde136c7d2d6685e00c211ea5) on the master branch, and commit https://github.com/code-saturne/code_saturne/commit/0928bc2b3fa5abc502dc011e99765dc3c8f2aef5 on v8.0 branch.
With clang16 (default for FreeBSD 14), the compilation fails with these errors:
As a work-around, -Wno-error=incompatible-function-pointer-types can be used.