[RTEMS Project] #2925: Warnings in rtl-obj-cache.c on some targets

RTEMS trac trac at rtems.org
Mon Mar 13 16:18:23 UTC 2017


#2925: Warnings in rtl-obj-cache.c on some targets
---------------------------+-----------------------------
 Reporter:  Joel Sherrill  |      Owner:  joel.sherrill@…
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  cpukit         |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 These warnings are on m68k but not sparc, mips powerpc, or arm. Looks like
 inttypes.h should be used.

 ../../../../../../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=]
 ~

--
Ticket URL: <http://devel.rtems.org/ticket/2925>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list