I don't think any of the warnings below indicate errors.
However, each could probably be suppressed with an appropriate cast.

-Paul

/scratch/phargrov/OMPI/openmpi-v2.x-dev-1410-g81e0924-linux-x86_64-clang/openmpi-gitclone/opal/mca/memory/patcher/memory_patcher_component.c:370:34:
warning: passing 'const void *' to parameter of type 'void *' discards
qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    opal_mem_hooks_release_hook (shmaddr, memory_patcher_get_shm_seg_size
(shmaddr), false);
                                 ^~~~~~~
--
/scratch/phargrov/OMPI/openmpi-v2.x-dev-1410-g81e0924-linux-x86_64-clang/openmpi-gitclone/opal/mca/btl/openib/btl_openib_component.c:2124:21:
warning: implicit conversion from enumeration type
'btl_openib_receive_queues_source_t' to different enumeration type
'mca_base_var_source_t' [-Wenum-conversion]
                    BTL_OPENIB_RQ_SOURCE_DEVICE_INI;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
/scratch/phargrov/OMPI/openmpi-v2.x-dev-1410-g81e0924-linux-x86_64-clang/openmpi-gitclone/opal/mca/pmix/pmix112/pmix1_client.c:406:19:
warning: implicit conversion from enumeration type 'opal_pmix_scope_t' to
different enumeration type 'pmix_scope_t' [-Wenum-conversion]
    rc = PMIx_Put(scope, val->key, &kv);
         ~~~~~~~~ ^~~~~
--
/scratch/phargrov/OMPI/openmpi-v2.x-dev-1410-g81e0924-linux-x86_64-clang/openmpi-gitclone/ompi/mca/io/romio314/romio/adio/common/utils.c:97:3:
warning: passing 'const MPI_Aint *' (aka 'const long *') to parameter of
type 'MPI_Aint *' (aka 'long *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
                array_of_displacements, oldtype, newtype);
                ^~~~~~~~~~~~~~~~~~~~~~

-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department               Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to