[RTEMS Project] #3347: tms570: Register Macro Redefinition

RTEMS trac trac at rtems.org
Thu Mar 15 14:56:57 UTC 2018


#3347: tms570: Register Macro Redefinition
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  5.1
 Component:  arch/arm       |    Version:  5
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 This looks like the same name was accidentally used. Without knowing the
 architecture, you can't know what was intended:

 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:164:0:
 warning: "TMS570_SYS1_CDDIS_VCLKAOFF_SET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:163:0:
 warning: "TMS570_SYS1_CDDIS_VCLKAOFF_GET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:162:0:
 warning: "TMS570_SYS1_CDDIS_VCLKAOFF" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:146:0:
 warning: "TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF_SET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:145:0:
 warning: "TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF_GET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:144:0:
 warning: "TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:134:0:
 warning: "TMS570_SYS1_CSDISSET_SETCLKSR_OFF_SET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:133:0:
 warning: "TMS570_SYS1_CSDISSET_SETCLKSR_OFF_GET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:132:0:
 warning: "TMS570_SYS1_CSDISSET_SETCLKSR_OFF" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:122:0:
 warning: "TMS570_SYS1_CSDIS_CLKSROFF_SET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:121:0:
 warning: "TMS570_SYS1_CSDIS_CLKSROFF_GET" redefined
 /home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h:120:0:
 warning: "TMS570_SYS1_CSDIS_CLKSROFF" redefined

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


More information about the bugs mailing list