src/mpltrmem.c: In function 'MPL_trfree': src/mpltrmem.c:352:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] MPL_error_printf ^ src/mpltrmem.c:372:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] MPL_error_printf ^ src/mpltrmem.c:414:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] MPL_error_printf("[%d] Freeing %lu bytes at %s in %s[%d]\n", ^ src/mpltrmem.c: In function 'MPL_trvalid2': src/mpltrmem.c:531:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] MPL_error_printf ^ src/mpltrmem.c: In function 'MPL_trdump': src/mpltrmem.c:597:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] fprintf(fp, "[%d] %lu at [%s], ", world_rank, head->size, hexstring); ^ src/mpltrmem.c:583:14: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] TRSPACE *old_head; ^ mpi-io/mpiu_external32.c: In function 'MPIU_datatype_full_size': mpi-io/mpiu_external32.c:123:14: warning: unused variable 'extent' [-Wunused-variable] MPI_Aint extent = 0; ^ ./pm/pmiserv/pmip_cb.c: In function 'parse_exec_params': ./pm/pmiserv/pmip_cb.c:811:9: warning: null argument where non-null required (argument 1) [-Wnonnull] HYD_pmcd_pmip.user_global.ckpointlib = HYDU_strdup(HYDRA_DEFAULT_CKPOINTLIB); ^ ./pm/pmiserv/pmip_cb.c:811:9: warning: null argument where non-null required (argument 2) [-Wnonnull] src/mpi/coll/opminloc.c: In function 'MPIR_MINLOC': src/mpi/coll/opminloc.c:85:24: warning: variable 'flen' set but not used [-Wunused-but-set-variable] int i, len = *Len, flen; ^ src/mpi/coll/opmaxloc.c: In function 'MPIR_MAXLOC': src/mpi/coll/opmaxloc.c:86:24: warning: variable 'flen' set but not used [-Wunused-but-set-variable] int i, len = *Len, flen; ^ src/mpid/ch3/src/ch3u_handle_connection.c: In function 'MPIDI_CH3_PktHandler_Close': src/mpid/ch3/src/ch3u_handle_connection.c:316:194: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] MPIU_DBG_MSG_FMT(CH3_DISCONNECT, TYPICAL, (MPIU_DBG_FDEST, "Unexpected state %s in vc %p (rank=%d) (expecting MPIDI_VC_STATE_ACTIVE)\n", MPIDI_VC_GetStateString(vc->state), vc, vc->pg_rank )); ^ src/mpid/ch3/src/ch3u_rma_sync.c:2884:12: warning: 'MPIDI_CH3I_Send_flush_msg' defined but not used [-Wunused-function] static int MPIDI_CH3I_Send_flush_msg(int dest, MPID_Win *win_ptr) { ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from ./src/mpid/ch3/include/mpidimpl.h:22, from src/mpid/ch3/src/ch3u_rma_sync.c:7: src/mpid/ch3/src/ch3u_rma_sync.c: In function 'MPIDI_CH3I_Recv_rma_msg': ./src/include/mpimem.h:267:31: warning: 'mpiu_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ ./src/include/mpimem.h:371:9: note: 'mpiu_chkpmem_stk_[0]' was declared here void *(mpiu_chkpmem_stk_[n_]);\ ^ src/mpid/ch3/src/ch3u_rma_sync.c:1137:5: note: in expansion of macro 'MPIU_CHKPMEM_DECL' MPIU_CHKPMEM_DECL(1); ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from ./src/mpid/ch3/include/mpidimpl.h:22, from src/mpid/ch3/src/mpidi_pg.c:7: src/mpid/ch3/src/mpidi_pg.c: In function 'connToString': ./src/include/mpimem.h:267:31: warning: 'mpiu_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ ./src/include/mpimem.h:371:9: note: 'mpiu_chkpmem_stk_[0]' was declared here void *(mpiu_chkpmem_stk_[n_]);\ ^ src/mpid/ch3/src/mpidi_pg.c:920:5: note: in expansion of macro 'MPIU_CHKPMEM_DECL' MPIU_CHKPMEM_DECL(1); ^ In file included from ./src/include/mpiimpl.h:190:0, from ./src/mpid/ch3/include/mpidimpl.h:22, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_impl.h:10, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_impl.h:11, from src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_impl.h:10, from src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c:9: src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c: In function 'alloc_sc_plfd_tbls': ./src/include/mpimem.h:480:32: warning: the comparison will always evaluate as 'true' for the address of 'MPID_nem_tcp_g_lstn_sc' will never be NULL [-Waddress] MPIU_Assert((src_) != NULL); \ ^ ./src/include/mpiutil.h:343:44: note: in definition of macro 'unlikely' # define unlikely(x_) __builtin_expect(!!(x_),0) ^ ./src/include/mpimem.h:480:13: note: in expansion of macro 'MPIU_Assert' MPIU_Assert((src_) != NULL); \ ^ ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:199:9: note: in expansion of macro 'MPIU_MEM_CHECK_MEMCPY' MPIU_MEM_CHECK_MEMCPY((a),(b),(c)); \ ^ src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c:183:5: note: in expansion of macro 'MPIU_Memcpy' MPIU_Memcpy (&g_sc_tbl[idx], &MPID_nem_tcp_g_lstn_sc, sizeof(MPID_nem_tcp_g_lstn_sc)); ^ ./src/include/mpimem.h:480:32: warning: the comparison will always evaluate as 'true' for the address of 'MPID_nem_tcp_g_lstn_plfd' will never be NULL [-Waddress] MPIU_Assert((src_) != NULL); \ ^ ./src/include/mpiutil.h:343:44: note: in definition of macro 'unlikely' # define unlikely(x_) __builtin_expect(!!(x_),0) ^ ./src/include/mpimem.h:480:13: note: in expansion of macro 'MPIU_Assert' MPIU_Assert((src_) != NULL); \ ^ ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:199:9: note: in expansion of macro 'MPIU_MEM_CHECK_MEMCPY' MPIU_MEM_CHECK_MEMCPY((a),(b),(c)); \ ^ src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c:184:5: note: in expansion of macro 'MPIU_Memcpy' MPIU_Memcpy (&MPID_nem_tcp_plfd_tbl[idx], &MPID_nem_tcp_g_lstn_plfd, sizeof(MPID_nem_tcp_g_lstn_plfd)); ^ src/mpid/common/datatype/mpid_type_debug.c: In function 'MPIDI_Datatype_printf': src/mpid/common/datatype/mpid_type_debug.c:238:59: warning: variable 'sticky_ub' set but not used [-Wunused-but-set-variable] MPI_Aint extent, true_lb, true_ub, lb, ub, sticky_lb, sticky_ub; ^ src/mpid/common/datatype/mpid_type_debug.c:238:48: warning: variable 'sticky_lb' set but not used [-Wunused-but-set-variable] MPI_Aint extent, true_lb, true_ub, lb, ub, sticky_lb, sticky_ub; ^ src/mpid/common/datatype/mpid_type_debug.c:238:44: warning: variable 'ub' set but not used [-Wunused-but-set-variable] MPI_Aint extent, true_lb, true_ub, lb, ub, sticky_lb, sticky_ub; ^ src/mpid/common/datatype/mpid_type_debug.c:238:31: warning: variable 'true_ub' set but not used [-Wunused-but-set-variable] MPI_Aint extent, true_lb, true_ub, lb, ub, sticky_lb, sticky_ub; ^ src/mpid/common/datatype/mpid_type_debug.c:236:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/iallgather.c:7: src/mpi/coll/iallgather.c: In function 'MPIR_Iallgather_bruck': ./src/include/mpir_nbc.h:151:23: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] mpi_errno = MPID_Sched_cb(&MPIR_Sched_cb_free_buf, \ ^ ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallgather.c:240:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from src/mpi/coll/iallgather.c:7: src/mpi/coll/iallgather.c: In function 'MPIR_Iallgather_inter': ./src/include/mpimem.h:267:31: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/iallgather.c:7: ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallgather.c:496:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/iallgatherv.c:7: src/mpi/coll/iallgatherv.c: In function 'MPIR_Iallgatherv_rec_dbl': ./src/include/mpir_nbc.h:151:23: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] mpi_errno = MPID_Sched_cb(&MPIR_Sched_cb_free_buf, \ ^ ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallgatherv.c:40:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ src/mpi/coll/iallgatherv.c: In function 'MPIR_Iallgatherv_bruck': ./src/include/mpir_nbc.h:151:23: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] mpi_errno = MPID_Sched_cb(&MPIR_Sched_cb_free_buf, \ ^ ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallgatherv.c:281:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from src/mpi/coll/iallreduce.c:7: src/mpi/coll/iallreduce.c: In function 'MPIR_Iallreduce_redscat_allgather': ./src/include/mpimem.h:267:31: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/iallreduce.c:7: ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallreduce.c:73:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from src/mpi/coll/iallreduce.c:7: src/mpi/coll/iallreduce.c: In function 'MPIR_Iallreduce_rec_dbl': ./src/include/mpimem.h:267:31: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/iallreduce.c:7: ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/iallreduce.c:297:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/ired_scat_block.c:7: src/mpi/coll/ired_scat_block.c: In function 'MPIR_Ireduce_scatter_block_inter': ./src/include/mpir_nbc.h:151:23: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] mpi_errno = MPID_Sched_cb(&MPIR_Sched_cb_free_buf, \ ^ ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/ired_scat_block.c:829:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^ In file included from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_memdefs.h:10:0, from ./src/mpid/ch3/channels/nemesis/include/mpid_nem_pre.h:12, from ./src/mpid/ch3/channels/nemesis/include/mpidi_ch3_pre.h:9, from ./src/mpid/ch3/include/mpidpre.h:49, from ./src/include/mpiimpl.h:170, from src/mpi/coll/ireduce.c:7: src/mpi/coll/ireduce.c: In function 'MPIR_Ireduce_SMP': ./src/include/mpimem.h:267:31: warning: 'mpir_sched_chkpmem_stk_[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define MPIU_Free(a) free((void *)(a)) ^ In file included from ./src/include/mpiimpl.h:3765:0, from src/mpi/coll/ireduce.c:7: ./src/include/mpir_nbc.h:120:12: note: 'mpir_sched_chkpmem_stk_[0]' was declared here void *(mpir_sched_chkpmem_stk_[n_]); \ ^ src/mpi/coll/ireduce.c:580:5: note: in expansion of macro 'MPIR_SCHED_CHKPMEM_DECL' MPIR_SCHED_CHKPMEM_DECL(1); ^