[RTEMS Project] #2235: libdl printf() warning on MIPS BSPs
RTEMS trac
trac at rtems.org
Fri Jan 23 00:01:04 UTC 2015
#2235: libdl printf() warning on MIPS BSPs
---------------------------+--------------------
Reporter: joel.sherrill | Owner: chrisj
Type: defect | Status: new
Priority: normal | Milestone: 4.11
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------------+--------------------
Easy enough to duplicate on mips/jmr3904. Looks to be specific to the mips
and not a generic printf() format warning issue from <inttypes.h>. :)
$ grep warning log/mips-* | grep -v hexd | grep format | cut -d ':' -f2- |
sort -u
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-
mips.c:118:17: warning: format '%d' expects argument of type 'int', but
argument 2 has type 'Elf32_Word' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-mips.c:143:9:
warning: format '%x' expects argument of type 'unsigned int', but argument
2 has type 'Elf32_Addr' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-mips.c:143:9:
warning: format '%x' expects argument of type 'unsigned int', but argument
3 has type 'Elf32_Addr *' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-mips.c:151:9:
warning: format '%x' expects argument of type 'unsigned int', but argument
2 has type 'Elf32_Addr' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-mips.c:151:9:
warning: format '%x' expects argument of type 'unsigned int', but argument
3 has type 'Elf32_Addr *' [-Wformat=]
--
Ticket URL: <http://devel.rtems.org/ticket/2235>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list