Hi Siegmar, I opened issue 4151 to track this. This is relevant to a project to get open mpi to build with -Werror.
Thanks very much, Howard 2017-08-21 7:27 GMT-06:00 Siegmar Gross < siegmar.gr...@informatik.hs-fulda.de>: > Hi, > > I've installed openmpi-master-201708190239-9d3f451 on my "SUSE Linux > Enterprise > Server 12.2 (x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6) and > gcc-7.1.0. Perhaps somebody wants to eliminate the following warnings. > > > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_gcc/log. > make.Linux.x86_64.64_gcc:../../../../../../../../../openmpi- > master-201708190239-9d3f451/opal/mca/pmix/pmix2x/pmix/src/ > mca/bfrops/base/bfrop_base_copy.c:414:22: warning: statement will never > be executed [-Wswitch-unreachable] > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_gcc/log. > make.Linux.x86_64.64_gcc:../../../../../openmpi-master-20170 > 8190239-9d3f451/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:136:34: > warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier > from pointer target type [-Wdiscarded-qualifiers] > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_gcc/log. > make.Linux.x86_64.64_gcc:../../../../../openmpi-master-20170 > 8190239-9d3f451/ompi/mpiext/cuda/c/mpiext_cuda_c.h:16:0: warning: > "MPIX_CUDA_AWARE_SUPPORT" redefined > > > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_gcc/log. > make-check.Linux.x86_64.64_gcc:../../../openmpi-master- > 201708190239-9d3f451/test/class/opal_fifo.c:109:26: warning: assignment > discards 'volatile' qualifier from pointer target type > [-Wdiscarded-qualifiers] > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_gcc/log. > make-check.Linux.x86_64.64_gcc:../../../openmpi-master- > 201708190239-9d3f451/test/class/opal_lifo.c:72:26: warning: assignment > discards 'volatile' qualifier from pointer target type > [-Wdiscarded-qualifiers] > > > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/pmix/pmix2x/pmix/src/mca/base/pmix_mca_base_component_repository.c", > line 266: warning: statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/pmix/pmix2x/pmix/src/mca/bfrops/base/bfrop_base_copy.c", line > 414: warning: statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/hwloc/hwloc2a/hwloc/hwloc/topology-linux.c", line 2797: > warning: initializer will be sign-extended: -1 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/hwloc/hwloc2a/hwloc/hwloc/topology-synthetic.c", line 946: > warning: initializer will be sign-extended: -1 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/hwloc/hwloc2a/hwloc/hwloc/topology-x86.c", line 238: warning: > initializer will be sign-extended: -1 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/hwloc/hwloc2a/hwloc/hwloc/topology-xml.c", line 2404: warning: > initializer will be sign-extended: -1 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/pmix/pmix2x/pmix/src/client/pmi1.c", line 711: warning: null > dimension: argvp > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/io/romio314/romio/adio/common/ad_fstype.c", line 428: warning: > statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/io/romio314/romio/adio/common/ad_threaded_io.c", line 31: > warning: statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/coll/monitoring/coll_monitoring_component.c", line 160: > warning: improper pointer/integer combination: op "=" > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c", line 136: warning: > argument #1 is incompatible with prototype: > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/topo/treematch/treematch/tm_malloc.c", line 71: warning: > statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/topo/treematch/treematch/tm_tree.c", line 1188: warning: > statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mca/topo/treematch/treematch/tm_tree.c", line 1209: warning: > statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /ompi/mpiext/cuda/c/mpiext_cuda_c.h", line 16: warning: macro redefined: > MPIX_CUDA_AWARE_SUPPORT > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/include/opal/sys/x86_64/timer.h", line 49: warning: initializer > does not fit or is out of range: 0x80000007 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /orte/mca/rmaps/ppr/rmaps_ppr.c", line 706: warning: enum type mismatch: > arg #2 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /orte/mca/rmaps/ppr/rmaps_ppr.c", line 715: warning: enum type mismatch: > arg #2 > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"openmpi-master-201708190239-9d3f451 > /opal/mca/base/mca_base_component_repository.c", line 289: warning: > statement not reached > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"/export2/src/openmpi-master/openmpi > -master-201708190239-9d3f451/opal/mca/hwloc/hwloc2a/hwloc/include/private/debug.h", > line 39: warning: attribute "__format__" is unknown, ignored > openmpi-master-201708190239-9d3f451-Linux.x86_64.64_cc/log. > make.Linux.x86_64.64_cc:"/export2/src/openmpi-master/openmpi > -master-201708190239-9d3f451/opal/mca/pmix/pmix2x/pmix/include/pmi.h", > line 788: warning: null dimension: argvp > > > > "make check" produces a lot of warnings and errors for Sun C so that I've > attached the file. > > > Kind regards > > Siegmar > > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/users >
_______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users