The following warning are issued on some platform when building superlu_mt:
third_party/superLU_MT/pdgstrf_thread_finalize.c:129:21: warning: passing arguments to 'ParallelFinalize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ParallelFinalize(pxgstrf_shared);
third_party/superLU_MT/pdmemory.c:777:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char *snode_env, *getenv();
In file included from third_party/superLU_MT/pxgstrf_synch.c:10:
third_party/superLU_MT/pdsp_defs.h:267:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int ParallelFinalize ();
third_party/superLU_MT/pxgstrf_synch.c:198:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ParallelFinalize(pxgstrf_shared_t *pxgstrf_shared)
third_party/superLU_MT/qrnzcnt.c:139:10: warning: variable 'nsuper' set but not used [-Wunused-but-set-variable]
int nsuper; /* total number of fundamental supernodes in Lc */
Steps to reproduce
$ ./build.sh --clean --parallel --system
Expected behavior
No warnings should be issued.
System information
GridLAB-D version: HiPAS GridLAB-D 4.3.3-230709 (develop) Darwin
Operating system: Darwin PC98798 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:51:50 PDT 2023; root:xnu-8796.121.2~5/RELEASE_X86_64 x86_64
Problem description
The following warning are issued on some platform when building
superlu_mt
:Steps to reproduce
Expected behavior
No warnings should be issued.
System information
HiPAS GridLAB-D 4.3.3-230709 (develop) Darwin
Darwin PC98798 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:51:50 PDT 2023; root:xnu-8796.121.2~5/RELEASE_X86_64 x86_64