[RTEMS Project] #2212: warnings in Beagle BSPs

RTEMS trac trac at rtems.org
Mon Dec 8 15:13:12 UTC 2014


#2212: warnings in Beagle BSPs
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:  beng
     Type:  defect         |     Status:  new
 Priority:  high           |  Milestone:  4.11
Component:  bsps           |    Version:  4.11
 Severity:  blocker        |   Keywords:
---------------------------+------------------
 Clean up request. The console ones appear to be that the rtems/console.h
 is not included from libbsp/shared/console_* files used. It must be
 included by  something else in other cases.

 [joel at rtbf64a rtems]$ grep beagle warnings-per-bsp-20141208a.txt warnings-
 20141208a.txt
 warnings-per-bsp-20141208a.txt:9 arm-beagleboneblack  (inBSP=5 inLibCPU=0)
 warnings-per-bsp-20141208a.txt:9 arm-beaglebonewhite  (inBSP=5 inLibCPU=0)
 warnings-per-bsp-20141208a.txt:10 arm-beagleboardorig  (inBSP=6
 inLibCPU=0)
 warnings-per-bsp-20141208a.txt:10 arm-beagleboardxm  (inBSP=6 inLibCPU=0)
 warnings-20141208a.txt:      4
 c/src/lib/libbsp/arm/beagle/../../shared/console_write.c:36:21: warning:
 no previous prototype for 'console_write' [-Wmissing-prototypes]
 warnings-20141208a.txt:      4
 c/src/lib/libbsp/arm/beagle/../../shared/console_read.c:36:21: warning: no
 previous prototype for 'console_read' [-Wmissing-prototypes]
 warnings-20141208a.txt:      4
 c/src/lib/libbsp/arm/beagle/../../shared/console_control.c:37:21: warning:
 no previous prototype for 'console_control' [-Wmissing-prototypes]
 warnings-20141208a.txt:      4 c/src/lib/libbsp/arm/beagle/irq.c:139:36:
 warning: passing argument 1 of 'arm_cp15_set_vector_base_address' makes
 pointer from integer without a cast
 warnings-20141208a.txt:      4 c/src/lib/libbsp/arm/beagle/clock.c:267:12:
 warning: unused variable 'tisr' [-Wunused-variable]
 warnings-20141208a.txt:      2 c/src/lib/libbsp/arm/beagle/clock.c:48:31:
 warning: 'regs_v2' defined but not used [-Wunused-variable]

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


More information about the bugs mailing list