[kvm-unit-tests v3 PATCH 0/3] Some more improvements related to compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two patches to get rid of -Wextra and use other warning flags
globally instead, and an additional third patch to make some
functions "static" (to be able to compile the files with the
"-Wmissing-prototypes" parameter)

v3:
- Fixed the stupid type on the "(f)rame-pointer-flag" variable in
  the second patch

Thomas Huth (3):
  Move flags that are shared between C and C++ into COMMON_CFLAGS
  Replace -Wextra with a saner list of warning flags
  Mark some local functions as "static"

 Makefile                | 25 +++++++++++++++----------
 arm/Makefile.common     |  1 -
 arm/pmu.c               |  2 +-
 lib/pci-testdev.c       |  4 ++--
 lib/printf.c            |  8 ++++----
 lib/x86/fwcfg.c         |  2 +-
 powerpc/Makefile.common |  1 -
 s390x/Makefile          |  1 -
 s390x/intercept.c       |  2 +-
 x86/Makefile.common     |  4 ++--
 x86/Makefile.x86_64     |  2 +-
 11 files changed, 27 insertions(+), 25 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux