[PATCH 00/14] Warning Removal

Joel Sherrill joel at rtems.org
Tue Mar 22 14:40:28 UTC 2016


I have been building using the master for binutils, gdb,
newlib, and GCC. Between newlib and GCC in particular, we
have some new warnings. This set of small patches attempts
to resolve the warnings in an appropriate way.


Joel Sherrill (14):
  cpuuse/cpuusagetop.c: Fix unused variable warning
  libnetworking/sys/libkern.h: Disable non-POSIX prototype that is
    actually unused
  telnetd.c: Fix no prototype warning
  sptests/Makefile.am: Enable sptls02
  libmisc/monitor/mon-prmisc.c: Remove unused rtems_monitor_events_assoc
  libmisc/shell/main_hexdump.c: Disable unused copyright string
  sp13/task1.c: Remove warning
  cpukit/rtems/src/*mp.c: Fix set but not used warning
  erc32/*/erc32sonic.c: Fix warnings
  mptests/*/*.c: Fix warnings
  powerpc/shared/openpic/openpic.c: Ignore warnings for
    __builtin_frame_address() usage
  libmisc/shell/main_date.c: Define _XOPEN_SOURCE and _BSD_SOURCE to get
    access to both APIs
  shell/hexdump-conv.c: Disable sccsid to avoid unused warning
  shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warnings

 c/src/lib/libbsp/powerpc/shared/openpic/openpic.c  |  5 ++
 .../lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c | 16 +++----
 cpukit/libmisc/cpuuse/cpuusagetop.c                |  1 -
 cpukit/libmisc/monitor/mon-prmisc.c                | 36 ---------------
 cpukit/libmisc/shell/hexdump-conv.c                |  2 +
 cpukit/libmisc/shell/hexdump-odsyntax.c            |  3 ++
 cpukit/libmisc/shell/main_date.c                   |  2 +
 cpukit/libmisc/shell/main_hexdump.c                |  2 +
 cpukit/libnetworking/sys/libkern.h                 |  2 +
 cpukit/rtems/src/eventmp.c                         |  5 +-
 cpukit/rtems/src/msgmp.c                           |  2 +
 cpukit/rtems/src/partmp.c                          |  2 +
 cpukit/rtems/src/regionmp.c                        |  2 +
 cpukit/rtems/src/semmp.c                           |  2 +
 cpukit/rtems/src/taskmp.c                          |  2 +
 cpukit/score/src/threadglobalconstruction.c        |  3 ++
 cpukit/telnetd/telnetd.c                           |  9 ++--
 testsuites/mptests/mp05/task1.c                    |  2 +-
 testsuites/mptests/mp06/task1.c                    |  2 +-
 testsuites/mptests/mp07/task1.c                    |  2 +-
 testsuites/mptests/mp14/init.c                     |  2 +-
 testsuites/sptests/sp13/task1.c                    | 53 ++++++++++++++--------
 22 files changed, 83 insertions(+), 74 deletions(-)

-- 
1.8.3.1



More information about the devel mailing list