GCC14でのincompatible-pointer-types対応
GCC14より,incompatible-pointer-typesがerrorになった
https://gcc.gnu.org/gcc-14/porting_to.html
METISありでビルドする場合,Metis_NodeNDの引数がエラーになるので回避するようCMakeListsに追記 or 修正
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:48:29: error: passing argument 1 of 'METIS_SetDefaultOptions' from incompatible pointer type [-Wincompatible-pointer-type]
48 | METIS_SetDefaultOptions(options);
| ^~~~~~~
| |
| int *
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:50:18: error: passing argument 1 of 'METIS_NodeND' from incompatible pointer type [-Wincompatible-pointer-types]
50 | METIS_NodeND(&graph->nvtxs, graph->xadj, graph->adjncy, NULL, NULL, perm,
| ^~~~~~~~~~~~~
| |
| int *
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:50:38: error: passing argument 2 of 'METIS_NodeND' from incompatible pointer type [-Wincompatible-pointer-types]
50 | METIS_NodeND(&graph->nvtxs, graph->xadj, graph->adjncy, NULL, NULL, perm,
| ~~~~~^~~~~~
| |
| int *
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:50:51: error: passing argument 3 of 'METIS_NodeND' from incompatible pointer type [-Wincompatible-pointer-types]
50 | METIS_NodeND(&graph->nvtxs, graph->xadj, graph->adjncy, NULL, NULL, perm,
| ~~~~~^~~~~~~~
| |
| int *
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:50:73: error: passing argument 6 of 'METIS_NodeND' from incompatible pointer type [-Wincompatible-pointer-types]
50 | METIS_NodeND(&graph->nvtxs, graph->xadj, graph->adjncy, NULL, NULL, perm,
| ^~~~
| |
| int *
FrontISTR/hecmw1/src/solver/solver_direct_parallel/matrix_repart.c:51:18: error: passing argument 7 of 'METIS_NodeND' from incompatible pointer type [-Wincompatible-pointer-types]
51 | iperm);
| ^~~~~
| |
| int *