Re: [mpich-discuss] MPICH 5.0.0 released: a warning (some more warnings)
Hi everyone, Please disregard my previous question. Today I started again with new configuration options: ../configure --with-device=ch4:ucx --enable-shared --enable-fortran --enable-fast=avx --enable-mpit-pvars=all --prefix=${PREFIX} 2>&1 | tee configure.eco and then the warning messages during the make step have now been reduced to two: ../../../modules/json-c/arraylist.c: In function ‘array_list_new’: ../../../modules/json-c/arraylist.c:49:43: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 49 | if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { | ^~~~ ../../../modules/json-c/arraylist.c:49:43: note: earlier argument should specify number of elements, later size of each element ../../../modules/json-c/json_object.c: In function ‘json_object_new’: ../../../modules/json-c/json_object.c:231:50: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] Regards, Jorge D'Elia. --
participants (1)
-
jdelia@intec.unl.edu.ar