[PATCH 0/7] abstract _Pragmas and minor changes to build with gcc and clang

Colin King colin.king at canonical.com
Mon Jul 30 18:30:52 UTC 2018


From: Colin Ian King <colin.king at canonical.com>

The aim of this patch set is to abstrace the gcc specific _Pragmas
and add some minor changes so that fwts can be build with gcc as well
as clang.

Colin Ian King (7):
  lib: fwts: Add abstracted pragma macros to push/pop state and disable
    warnings
  fwts_uefi.h: replace _Pragmas with abstracted pragma macros
  Wrap ACPI_ROOT_OBJECT with PRAGMA_NULL_PTR_MATH for clang builds
  lib/src/fwts_acpi_tables: disable clang warning
  lib: fwts_coreboot_cbmem.c: initialize all fields in array of structs
  uefi: uefirtauthvar: don't logically or a constant operand.
  dmi: dmicheck: remove redundant array fwts_dmi_chassis_type

 src/acpi/madt/madt.c                   |  3 ++
 src/dmi/dmicheck/dmicheck.c            | 48 +------------------
 src/lib/include/fwts.h                 | 64 ++++++++++++++++++++++++++
 src/lib/include/fwts_smbios.h          |  3 ++
 src/lib/include/fwts_uefi.h            | 10 ++--
 src/lib/src/fwts_acpi_tables.c         |  6 +++
 src/lib/src/fwts_coreboot_cbmem.c      |  2 +-
 src/sbbr/acpitables/acpitables.c       |  3 ++
 src/uefi/uefirtauthvar/uefirtauthvar.c |  6 +--
 9 files changed, 87 insertions(+), 58 deletions(-)

-- 
2.17.1




More information about the fwts-devel mailing list