I cited the first one in https://github.com/open-mpi/ompi/issues/4959.  I 
pinged Mark Allen about this again -- it's not a trivial fix, and I didn't want 
to muck in that code without appropriate care.

I filed a fix for the 2nd one (and some others) in 
https://github.com/open-mpi/ompi/pull/5203.



> On May 30, 2018, at 10:42 AM, r...@open-mpi.org wrote:
> 
> In file included from /usr/include/stdio.h:411:0,
>                  from ../../opal/util/malloc.h:24,
>                  from ../../opal/include/opal_config_bottom.h:331,
>                  from ../../opal/include/opal_config.h:2919,
>                  from ../../opal/util/argv.h:33,
>                  from info.c:41:
> info.c: In function 'opal_info_dup_mode':
> info.c:209:36: warning: '%s' directive writing up to 36 bytes into a region 
> of size 31 [-Wformat-overflow=]
>                   sprintf(savedkey, "__IN_%s", iterator->ie_key);
>                                     ^
> info.c:209:18: note: '__builtin___sprintf_chk' output between 6 and 42 bytes 
> into a destination of size 36
>                   sprintf(savedkey, "__IN_%s", iterator->ie_key);
>                   ^
> 
> 
> fcoll_dynamic_gen2_file_write_all.c: In function 'shuffle_init':
> fcoll_dynamic_gen2_file_write_all.c:1165:39: warning: initialization makes 
> integer from pointer without a cast [-Wint-conversion]
>          ptrdiff_t send_mem_address  = NULL;
>                                        ^~~~
> 
> This was from building on a Mac with gcc 7.3.0
> 
> Ralph
> 
> _______________________________________________
> devel mailing list
> devel@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/devel


-- 
Jeff Squyres
jsquy...@cisco.com

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/devel

Reply via email to