GlobalArrays/ga

pointer type mismatch tcgi_argc in tcgmsg-mpi

Closed this issue · 2 comments

In tcgmsg/tcgmsg-mpi/misc.c, tcgi_argc is defined as int.

int      tcgi_argc=0;

In nxtval-armci.c it is declared as a pointer,

extern int     *tcgi_argc;

I guess misc.c should be updated to

int      *tcgi_argc=NULL;

or somesuch?

This was reported in the Debian Bug System, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820677

I'm curious if that code is even used. There are so many things wrong with it.

Addressed by 791926f