On CentOS-7 using gcc 4.8:
btl_tcp.c: In function ‘mca_btl_tcp_add_procs’: btl_tcp.c:97:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0 ; j < tcp_proc->proc_endpoint_count ; ++j) { ^ btl_tcp_proc.c: In function ‘mca_btl_tcp_proc_lookup’: btl_tcp_proc.c:772:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < mca_btl_tcp_component.tcp_num_btls ; ++i) { ^ btl_tcp_proc.c:761:13: warning: unused variable ‘rc’ [-Wunused-variable] int rc; ^ io_ompio_component.c: In function ‘file_query’: io_ompio_component.c:275:19: warning: unused variable ‘fsbuf’ [-Wunused-variable] struct statfs fsbuf; ^ io_ompio_component.c:274:11: warning: unused variable ‘dir’ [-Wunused-variable] char *dir; ^ io_ompio_component.c:273:9: warning: unused variable ‘err’ [-Wunused-variable] int err; ^ mpi_MPI.c: In function ‘JNI_OnLoad’: mpi_MPI.c:144:24: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] if(0 != dladdr((void *)JNI_OnLoad, &info)) { ^ runtime/oshmem_shmem_exchange.c:19:5: warning: "OMPI_ENABLE_MPI_PROFILING" is not defined [-Wundef] #if OMPI_ENABLE_MPI_PROFILING ^ runtime/oshmem_shmem_init.c:82:2: warning: #ident is a GCC extension [enabled by default] #ident OSHMEM_IDENT_STRING ^ runtime/oshmem_shmem_init.c:85:5: warning: "OMPI_ENABLE_MPI_PROFILING" is not defined [-Wundef] #if OMPI_ENABLE_MPI_PROFILING ^ runtime/oshmem_shmem_finalize.c:61:5: warning: "OMPI_ENABLE_MPI_PROFILING" is not defined [-Wundef] #if OMPI_ENABLE_MPI_PROFILING