[RTEMS Project] #3049: Warnings in libdebugger

RTEMS trac trac at rtems.org
Wed Jun 14 14:30:09 UTC 2017


#3049: Warnings in libdebugger
---------------------------+--------------------
 Reporter:  Joel Sherrill  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12.0
Component:  General        |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 I started fixing the warnings in libdebugger with the latest tools but
 apparently some of the variables can't be changed to const char *const. So
 filing as a ticket so Chris can fix them more accurately.

 67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-debugger-
 server.c:957:25: warning: comparison between pointer and zero character
 constant [-Wpointer-compare]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:61:19: warning: duplicate 'const' declaration specifier
 [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:60:19: warning: duplicate 'const' declaration specifier
 [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:53:14: warning: duplicate 'const' declaration specifier
 [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1490:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1426:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1302:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1260:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1064:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      67 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-server.c:1025:14: warning: duplicate 'const' declaration
 specifier [-Wduplicate-decl-specifier]
      60 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-arm.c:302:14: warning: duplicate 'const' declaration specifier
 [-Wduplicate-decl-specifier]
      60 ../../../../../../rtems/c/src/../../cpukit/libdebugger/rtems-
 debugger-arm.c:301:14: warning: duplicate 'const' declaration specifier
 [-Wduplicate-decl-specifier]

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


More information about the bugs mailing list