[ExM Users] warnings on c-utils install

Tim Armstrong tga at uchicago.edu
Thu Apr 25 10:42:38 CDT 2013


You can ignore these for now, unless you run into further issues.  It 
may be a good idea to also update and recompile adlb and turbine.

I enabled an additional compiler warning for implicit conversions, and 
fixed all the warnings that cropped up on my machines, but it appears 
you are getting some additional ones. What version of gcc are you using?

- Tim


On 4/25/2013 10:18 AM, Scott Krieder wrote:
> Hi Tim,
>
> I noticed that when installing c-utils from the latest svn version it 
> gives several warnings.
>
> I did do a make clean, and my uname -a gives:
> Linux skrieder 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:42:26 UTC 
> 2012 x86_64 GNU/Linux
>
> Here is what make produces:
> make
>   DEPsrc/list_d.d
>   DEPsrc/log.d
>   DEPsrc/list_ip.d
>   DEPsrc/reader.d
>   DEPsrc/list_i.d
>   DEPsrc/list2.d
>   DEPsrc/list_l.d
>   DEPsrc/table_ip.d
>   DEPsrc/tree.d
>   DEPsrc/version.d
>   DEPsrc/lookup3.d
>   DEPsrc/table.d
>   DEPsrc/exm-string.d
>   DEPsrc/tools.d
>   DEPsrc/list_sp.d
>   DEPsrc/c-utils.d
>   DEPsrc/memory.d
>   DEPsrc/list.d
>   DEPsrc/list_lp.d
>   DEPsrc/rbtree.d
>   DEPsrc/table_lp.d
>   DEPsrc/profile.d
>   CCsrc/profile.o
> src/profile.c: In function ‘profile_entry’:
> src/profile.c:64: warning: passing argument 3 of ‘__builtin_strncpy’ 
> with different width due to prototype
>   CCsrc/table_lp.o
> src/table_lp.c: In function ‘table_lp_dump’:
> src/table_lp.c:169: warning: passing argument 2 of ‘list_lp_tostring’ 
> with different width due to prototype
>   CCsrc/rbtree.o
>   CCsrc/list_lp.o
>   CCsrc/list.o
>   CCsrc/memory.o
> src/memory.c: In function ‘mm_create’:
> src/memory.c:86: warning: passing argument 2 of ‘strnlen’ with 
> different width due to prototype
>   CCsrc/c-utils.o
>   CCsrc/list_sp.o
>   CCsrc/tools.o
>   CCsrc/exm-string.o
>   CCsrc/table.o
> src/table.c: In function ‘table_dump’:
> src/table.c:211: warning: passing argument 2 of ‘list_sp_tostring’ 
> with different width due to prototype
>   CCsrc/lookup3.o
>   CCsrc/version.o
>   CCsrc/tree.o
>   CCsrc/table_ip.o
> src/table_ip.c: In function ‘table_ip_dump’:
> src/table_ip.c:136: warning: passing argument 2 of ‘list_ip_snprintf’ 
> with different width due to prototype
>   CCsrc/list_l.o
>   CCsrc/list2.o
>   CCsrc/list_i.o
>   CCsrc/reader.o
> src/reader.c: In function ‘reader_read’:
> src/reader.c:88: warning: passing argument 2 of ‘fread’ with different 
> width due to prototype
> src/reader.c:99: warning: passing argument 2 of ‘table_lp_add’ with 
> different width due to prototype
>   CCsrc/list_ip.o
> src/list_ip.c: In function ‘list_ip_snprintf’:
> src/list_ip.c:597: warning: passing argument 2 of ‘snprintf’ with 
> different width due to prototype
>   CCsrc/log.o
> src/log.c: In function ‘log_printf’:
> src/log.c:95: warning: passing argument 2 of ‘vsnprintf’ with 
> different width due to prototype
>   CCsrc/list_d.o
>   LINKlib/libexmcutils.so
>
>
> -- 
> Scott J. Krieder
> C: 419-685-0410
> E: skrieder at iit.edu <mailto:skrieder at iit.edu>
> http://datasys.cs.iit.edu/~skrieder/ 
> <http://datasys.cs.iit.edu/%7Eskrieder/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20130425/37b27a16/attachment-0001.html>


More information about the ExM-user mailing list