Skip to content

Some more improvements related to compiler warnings

Thomas Huth kvm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v12 of 3 patches 2 repliesApplied

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Move flags that are shared between C and C++ into COMMON_CFLAGSMakefile x86/Makefile.common x86/Makefile.x86_64+14 -130 replies
2/3Replace -Wextra with a saner list of warning flagsMakefile arm/Makefile.common powerpc/Makefile.common +1 more+6 -50 replies
3/3Mark some local functions as "static"arm/pmu.c lib/pci-testdev.c lib/printf.c +2 more+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
1.8.3.1