Closed Alessandro-Barbieri closed 7 months ago
Thanks. #89 should fix it.
However, I would like to point out that using flag -Werror=lto-type-mismatch can be a problem for Fortran programs that make MPI calls. It turns the warning message of mismatched type into an error.
This is the explanation on why we are doing this
-Werror=lto-type-mismatch:
User to find possible runtime issues in packages. It likely means the package
is unsafe to build & use with LTO.
For projects using the same identifier but with different types across
different files, they must be fixed to be consistent across the codebase.
The problem with Fortran binding has been mentioned in MPI 4.0, Section 19.1.11 Problems Due to Strong Typing
Fixed in #89
Gentoo CI had a failure while trying to build with LTO log https://860768.bugs.gentoo.org/attachment.cgi?id=794060 see https://bugs.gentoo.org/860768