Old HPhi has the C-lang and the Fortran-lang issues described on the following webpage,
https://gcc.gnu.org/gcc-10/porting_to.html,
and thus GCC 10, more strict than older versions, fails to build HPhi.
In this PR, I fixed the C-lang issue by adding extern to all the global variables and defining them just once, and downgraded the argument mismatch errors to warnings in order to avoid the Fortran-lang issue.
Old HPhi has the C-lang and the Fortran-lang issues described on the following webpage, https://gcc.gnu.org/gcc-10/porting_to.html, and thus GCC 10, more strict than older versions, fails to build HPhi.
In this PR, I fixed the C-lang issue by adding
extern
to all the global variables and defining them just once, and downgraded theargument mismatch
errors to warnings in order to avoid the Fortran-lang issue.