[mpich-discuss] ROMIO compiler warnings
Dave Goodell
goodell at mcs.anl.gov
Thu Feb 17 12:35:28 CST 2011
Jeff,
We'll take a look, but we haven't seen these under our typical "warnings enabled" builds. Can you send us the flags that you are passing to gcc so that we can easily reproduce these warnings?
-Dave
On Feb 17, 2011, at 10:40 AM CST, Jeff Squyres wrote:
> I notice that gcc 4.1 and 4.5 issue a bunch of warnings with the ROMIO from MPICH2 v1.3.1. Are these warnings that you care about, perchance?
>
> The output below is from compiling on a RHEL 5.5 machine using the gcc 4.5.0 compilers (snipped output below to show just the warnings):
>
> Making all in common
> ad_coll_exch_new.c: In function ‘ADIOI_Print_flatlist_node’:
> ad_coll_exch_new.c:52:7: warning: ISO C does not support the ‘%Ld’ gnu_printf format
> ad_coll_exch_new.c:52:7: warning: ISO C does not support the ‘%Ld’ gnu_printf format
> ad_coll_exch_new.c:56:7: warning: ISO C does not support the ‘%Ld’ gnu_printf format
> ad_coll_exch_new.c:56:7: warning: ISO C does not support the ‘%Ld’ gnu_printf format
> ad_read_coll.c: In function ‘ADIOI_Read_and_exch’:
> ad_read_coll.c:687:7: warning: cast from pointer to integer of different size
> ad_read_coll.c:687:7: warning: cast from pointer to integer of different size
> ad_read_coll.c:740:7: warning: cast from pointer to integer of different size
> ad_read_coll.c:740:7: warning: cast from pointer to integer of different size
> ad_read_coll.c:741:7: warning: comparison between signed and unsigned integer expressions
> ad_read_coll.c: In function ‘ADIOI_Fill_user_buffer’:
> ad_read_coll.c:1035:4: warning: cast from pointer to integer of different size
> ad_read_coll.c:1035:4: warning: cast from pointer to integer of different size
> ad_read_coll.c:1035:4: warning: comparison between signed and unsigned integer expressions
> ad_read_coll.c:1042:4: warning: cast from pointer to integer of different size
> ad_read_coll.c:1042:4: warning: cast from pointer to integer of different size
> ad_read_coll.c:1042:4: warning: comparison between signed and unsigned integer expressions
> ad_read_str.c: In function ‘ADIOI_GEN_ReadStrided’:
> ad_read_str.c:142:7: warning: comparison between signed and unsigned integer expressions
> ad_read_str.c:295:7: warning: comparison between signed and unsigned integer expressions
> ad_read_str.c:341:7: warning: comparison between signed and unsigned integer expressions
> ad_read_str_naive.c: In function ‘ADIOI_GEN_ReadStrided_naive’:
> ad_read_str_naive.c:83:5: warning: cast from pointer to integer of different size
> ad_read_str_naive.c:83:5: warning: cast from pointer to integer of different size
> ad_read_str_naive.c:245:9: warning: cast from pointer to integer of different size
> ad_read_str_naive.c:245:9: warning: cast from pointer to integer of different size
> ad_read_str_naive.c:311:9: warning: cast from pointer to integer of different size
> ad_read_str_naive.c:311:9: warning: cast from pointer to integer of different size
> ad_write_coll.c: In function ‘ADIOI_Exch_and_write’:
> ad_write_coll.c:467:7: warning: cast from pointer to integer of different size
> ad_write_coll.c:467:7: warning: cast from pointer to integer of different size
> ad_write_coll.c: In function ‘ADIOI_Fill_send_buffer’:
> ad_write_coll.c:925:11: warning: cast from pointer to integer of different size
> ad_write_coll.c:925:11: warning: cast from pointer to integer of different size
> ad_write_coll.c:925:11: warning: comparison between signed and unsigned integer expressions
> ad_write_coll.c:932:4: warning: cast from pointer to integer of different size
> ad_write_coll.c:932:4: warning: cast from pointer to integer of different size
> ad_write_coll.c:932:4: warning: comparison between signed and unsigned integer expressions
> ad_write_nolock.c: In function ‘ADIOI_NOLOCK_WriteStrided’:
> ad_write_nolock.c:142:9: warning: cast from pointer to integer of different size
> ad_write_nolock.c:142:9: warning: cast from pointer to integer of different size
> ad_write_nolock.c:338:21: warning: comparison between signed and unsigned integer expressions
> ad_write_str_naive.c: In function ‘ADIOI_GEN_WriteStrided_naive’:
> ad_write_str_naive.c:85:5: warning: cast from pointer to integer of different size
> ad_write_str_naive.c:85:5: warning: cast from pointer to integer of different size
> ad_write_str_naive.c:246:9: warning: cast from pointer to integer of different size
> ad_write_str_naive.c:246:9: warning: cast from pointer to integer of different size
> ad_write_str_naive.c:312:9: warning: cast from pointer to integer of different size
> ad_write_str_naive.c:312:9: warning: cast from pointer to integer of different size
> malloc.c: In function ‘ADIOI_Malloc_fn’:
> malloc.c:57:5: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier
>
> --
> Jeff Squyres
> jsquyres at cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list