main_lsof.c Warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 16:33:42 UTC 2014


Hi

Is this fixed once we get to tools with your new long long checking
in newlib?

$ grep main_lsof.c warnings-20141013a.txt
     78 c/src/../../cpukit/libmisc/shell/main_lsof.c:66:7: warning:
format '%x' expects argument of type 'unsigned int', but argument 4 has
type 'long unsigned int' [-Wformat=]
     78 c/src/../../cpukit/libmisc/shell/main_lsof.c:66:7: warning:
format '%x' expects argument of type 'unsigned int', but argument 3 has
type 'long unsigned int' [-Wformat=]
     78 c/src/../../cpukit/libmisc/shell/main_lsof.c:51:5: warning:
format '%x' expects argument of type 'unsigned int', but argument 9 has
type 'long unsigned int' [-Wformat=]
     78 c/src/../../cpukit/libmisc/shell/main_lsof.c:51:5: warning:
format '%x' expects argument of type 'unsigned int', but argument 8 has
type 'long unsigned int' [-Wformat=]

It shows up on the following 39 BSPs but not on the others (sigh):

bfin-bf537Stamp bfin-eZKit533 bfin-TLL6527M h8300-h8sim i386-pc386
i386-pc486 i386-pc586 i386-pc586-sse i386-pc686 i386-pcp4
m32r-m32rsim m68k-av5282 m68k-COBRA5475 m68k-csb360 m68k-gen68302
m68k-gen68340 m68k-gen68360_040 m68k-gen68360 m68k-idp
m68k-m5484FireEngine m68k-mcf5206elite m68k-mcf52235 m68k-mcf5225x
m68k-mcf5235 m68k-mcf5329 m68k-mrm332 m68k-mvme136 m68k-mvme147
m68k-mvme147s m68k-mvme162 m68k-mvme162lx m68k-mvme167 m68k-ods68302
m68k-pgh360 m68k-sim68000 m68k-simcpu32 m68k-uC5282 moxie-moxiesim
or1k-or1ksim

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list