[PATCH v1 00/12] gcc 12 warnings patches

Ryan Long ryan.long at oarcorp.com
Tue Aug 16 20:11:46 UTC 2022


Hi,

For these patches I fixed some of the warnings and added pragmas to ignore
some of the others. These were the warnings I got when building
AArch64/xilinx_zynqmp_lp64_qemu. If you have any feedback on fixing some of
these warnings instead of just ignoring them, please let me know and I can
get that put in.

Thanks,
Ryan

Ryan Long (12):
  threads.h: Add pragmas to get rid of gcc 12 errors
  linkersets.h: Fix gcc 12 warning
  interr.h: Fix gcc 12 warning
  percpu.h: Add pragma for gcc 12 warning
  schedulerpriority.h: Fix gcc 12 warning
  test.h: Add pragma for gcc 12 warning
  cpu.h: Fix gcc 12 warnings
  dl09/dl-load.c: Fix gcc 12 warning
  malloctest/init.c: Added pragmas to address gcc 12 warnings
  ttest01/test-checks.c: Initialize variables
  psxclock/init.c: Change print format for warning
  psxkey07/init.c: Add pragma for gcc 12 warning

 cpukit/include/rtems/confdefs/threads.h            | 15 ++++++++
 cpukit/include/rtems/linkersets.h                  |  2 +-
 cpukit/include/rtems/score/interr.h                |  2 +-
 cpukit/include/rtems/score/percpu.h                |  8 +++++
 cpukit/include/rtems/score/schedulerpriority.h     |  2 +-
 cpukit/include/rtems/test.h                        |  7 ++++
 cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | 20 +++++++++--
 testsuites/libtests/dl09/dl-load.c                 |  2 +-
 testsuites/libtests/malloctest/init.c              | 41 ++++++++++++++++++++--
 testsuites/libtests/ttest01/test-checks.c          | 10 +++---
 testsuites/psxtests/psxclock/init.c                |  2 +-
 testsuites/psxtests/psxkey07/init.c                | 11 ++++--
 12 files changed, 105 insertions(+), 17 deletions(-)

-- 
2.11.0



More information about the devel mailing list