Open
Description
I'm trying to build scalapack-2.2.2 using the new gcc-15 compiler and am encountering this error, and many others like it, in C code:
/opt/src/scalapack/scalapack-2.2.2/TOOLS/reshape.c:32:4: error: too many arguments to function ‘Cblacs_gridinfo’; expected 0, have 5
32 | Cblacs_gridinfo( context_in, &nprow_in, &npcol_in, &myrow_in, &mycol_in );
| ^~~~~~~~~~~~~~~ ~~~~~~~~~~
/opt/src/scalapack/scalapack-2.2.2/TOOLS/reshape.c:15:9: note: declared here
15 | void Cblacs_gridinfo();
| ^~~~~~~~~~~~~~~
It seems gcc has gotten stricter since version 12, which compiles this without error. Is there a gcc option that downgrades this to a warning (like exists for Fortran)? I'm not seeing anything that jumps out at me.
Metadata
Metadata
Assignees
Labels
No labels