[mpich-discuss] MPICH 5.0.0 released: a warning (some more warnings)

jdelia at intec.unl.edu.ar jdelia at intec.unl.edu.ar
Thu Feb 5 04:14:22 CST 2026


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.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20260205/8125d639/attachment-0001.html>


More information about the discuss mailing list