warnings in libdl

Joel Sherrill joel at rtems.org
Fri Mar 10 21:48:48 UTC 2017


Hi

These printf() format warnings show up on m68k but not on powerpc, sparc,
or mips per my recent builds. I assume these printf's need to use the
inttypes.h constants but I will entrust that to Chris to make the right
call. :)

../../../../../../rtems/c/src/../../cpukit/libdl/rtl-obj-cache.c:175:47:
warning: format '%d' expects argument of type 'int', but argument 3 has
type 'long unsigned int' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-obj-cache.c:175:85:
warning: format '%d' expects argument of type 'int', but argument 7 has
type 'long unsigned int' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-obj-cache.c:81:67:
warning: format '%d' expects argument of type 'int', but argument 7 has
type 'long unsigned int' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-obj-cache.c:81:81:
warning: format '%d' expects argument of type 'int', but argument 9 has
type 'long unsigned int' [-Wformat=]

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170310/88b98f32/attachment.html>


More information about the devel mailing list