[RTEMS Project] #3511: int/pointer size warnings in powerpc-qoriq_e6500_64
RTEMS trac
trac at rtems.org
Tue Sep 4 22:57:18 UTC 2018
#3511: int/pointer size warnings in powerpc-qoriq_e6500_64
----------------------------+--------------------
Reporter: Joel Sherrill | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 5.1
Component: arch/powerpc | Version: 5
Severity: normal | Keywords:
Blocked By: | Blocking:
----------------------------+--------------------
These all look suspiciously like real issues:
$ grep warning log/powerpc-qoriq_e6500_64.log
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/qoriq/../../../../../../bsps/powerpc/qoriq/start/bspstart.c:173:5:
warning: passing argument 1 of 'qoriq_initialize_exceptions' makes pointer
from integer without a cast [-Wint-conversion]
../../../../../../rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt-
shell.c:57:27: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
../../../../../../rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt-
shell.c:64:27: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
../../../../../../rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt-
shell.c:488:11: warning: format '%u' expects argument of type 'unsigned
int', but argument 5 has type 'long int' [-Wformat=]
../../../../../../rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt-
shell.c:536:13: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long int' [-Wformat=]
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/qoriq/../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_alignment.c:28:25:
warning: cast to pointer from integer of different size [-Wint-to-pointer-
cast]
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/qoriq/../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_initialize.c:38:10:
warning: cast from pointer to integer of different size [-Wpointer-to-int-
cast]
--
Ticket URL: <http://devel.rtems.org/ticket/3511>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list