Building w/ clang-3.4.2 on Linux/x86-64:

/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang/openmpi-2.0.1rc1/opal/mca/btl/openib/btl_openib_component.c:2158:21:
warning: implicit conversion from enumeration type
'btl_openib_receive_queues_source_t' to different enumeration type
'mca_base_var_source_t' [-Wenum-conversion]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang/openmpi-2.0.1rc1/opal/mca/pmix/pmix112/pmix1_client.c:408:19:
warning: implicit conversion from enumeration type 'opal_pmix_scope_t' to
different enumeration type 'pmix_scope_t' [-Wenum-conversion]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang/openmpi-2.0.1rc1/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]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang/openmpi-2.0.1rc1/oshmem/mca/spml/yoda/spml_yoda.c:644:33:
warning: incompatible pointer types passing 'oshmem_proc_t **' (aka 'struct
oshmem_proc_t **') to parameter of type 'struct ompi_proc_t **'
[-Wincompatible-pointer-types]

Adding -m32 yields the following which all seem to show ROMIO's ADIO_Offset
being 64-bits wide, while MPI_Offset and MPI_Count are only 32-bits wide:

/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/get_bytoff.c:66:44:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/get_posn.c:55:33:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/get_posn_sh.c:56:36:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/seek.c:76:30:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/seek.c:97:32:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/seek_sh.c:104:37:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/mpi-io/seek_sh.c:133:36:
warning: incompatible pointer types passing 'MPI_Offset *' (aka 'long *')
to parameter of type 'ADIO_Offset *' (aka 'long long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/adio/common/ad_coll_exch_new.c:160:35:
warning: incompatible pointer types passing 'ADIO_Offset *' (aka 'long long
*') to parameter of type 'MPI_Count *' (aka 'long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/adio/common/ad_read_coll.c:857:5:
warning: incompatible pointer types passing 'ADIO_Offset *' (aka 'long long
*') to parameter of type 'const MPI_Count *' (aka 'const long *')
[-Wincompatible-pointer-types]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/io/romio314/romio/adio/common/ad_write_coll.c:615:8:
warning: incompatible pointer types passing 'ADIO_Offset *' (aka 'long long
*') to parameter of type 'const MPI_Count *' (aka 'const long *')
[-Wincompatible-pointer-types]



Use of -m32 also generates the printf format warnings (after removing the
ones for types of equal size but different signedness):

/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/fcoll/two_phase/fcoll_two_phase_support_fns.c:175:36:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/fcoll/two_phase/fcoll_two_phase_support_fns.c:175:44:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/osc/rdma/osc_rdma_comm.c:735:50:
warning: format specifies type 'unsigned long' but the argument has type
'osc_rdma_size_t' (aka 'long long') [-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/individual/sharedfp_individual_collaborate_data.c:187:67:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/individual/sharedfp_individual_insert_metadata.c:123:94:
warning: format specifies type 'long long' but the argument has type
'MPI_Offset' (aka 'long') [-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:68:113:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:71:105:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:78:61:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:78:78:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:82:38:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:85:114:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:94:41:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_seek.c:97:113:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_request_position.c:82:93:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_request_position.c:90:21:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_request_position.c:90:41:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_write.c:80:80:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_write.c:176:88:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_write.c:198:84:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iwrite.c:81:60:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iwrite.c:182:94:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iwrite.c:204:90:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_read.c:76:79:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_read.c:171:87:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_read.c:191:83:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iread.c:81:60:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iread.c:183:72:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile_iread.c:205:75:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:70:105:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:75:80:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:84:29:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:84:46:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:89:81:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:92:106:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:103:84:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_seek.c:106:105:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c:64:48:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c:70:79:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c:70:106:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_write.c:80:70:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_write.c:178:80:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_write.c:202:76:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iwrite.c:80:52:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iwrite.c:181:69:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iwrite.c:204:72:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_read.c:76:71:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_read.c:171:83:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_read.c:194:79:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iread.c:78:51:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iread.c:178:68:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]
/scratch/phargrov/OMPI/openmpi-2.0.1rc1-linux-x86_64-clang-m32/openmpi-2.0.1rc1/ompi/mca/sharedfp/sm/sharedfp_sm_iread.c:201:71:
warning: format specifies type 'long long' but the argument has type 'long'
[-Wformat]


-Paul [call me what names you like behind my back - I'll keep doing S/W QA
until you tell me to stop]

-- 
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
_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to