[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 32/39] contrib/plugins: enable -Wall for building plugins
From: |
Alex Bennée |
Subject: |
[PATCH v1 32/39] contrib/plugins: enable -Wall for building plugins |
Date: |
Tue, 6 Jul 2021 15:58:10 +0100 |
Lets spot the obvious errors.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
contrib/plugins/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile
index b9d7935e5e..17e6e2ec4f 100644
--- a/contrib/plugins/Makefile
+++ b/contrib/plugins/Makefile
@@ -24,7 +24,7 @@ SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES)))
# The main QEMU uses Glib extensively so it's perfectly fine to use it
# in plugins (which many example do).
CFLAGS = $(GLIB_CFLAGS)
-CFLAGS += -fPIC
+CFLAGS += -fPIC -Wall
CFLAGS += $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi)
CFLAGS += -I$(SRC_PATH)/include/qemu
--
2.20.1
- Re: [PATCH v1 05/39] tests/tcg: generalise the disabling of the signals test, (continued)
- [PATCH v1 09/39] hw/usb/ccid: remove references to NSS, Alex Bennée, 2021/07/06
- [PATCH v1 10/39] tests/docker: don't use BUILDKIT in GitLab either, Alex Bennée, 2021/07/06
- [PATCH v1 08/39] cirrus: delete FreeBSD and macOS jobs, Alex Bennée, 2021/07/06
- [PATCH v1 07/39] gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run, Alex Bennée, 2021/07/06
- [PATCH v1 37/39] plugins/cache: Added FIFO and LRU eviction policies, Alex Bennée, 2021/07/06
- [PATCH v1 13/39] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/06
- [PATCH v1 02/39] Jobs based on custom runners: build environment docs and playbook, Alex Bennée, 2021/07/06
- [PATCH v1 11/39] tests/docker: use project specific container registries, Alex Bennée, 2021/07/06
- [PATCH v1 34/39] docs/devel: tcg-plugins: add execlog plugin description, Alex Bennée, 2021/07/06
- [PATCH v1 32/39] contrib/plugins: enable -Wall for building plugins,
Alex Bennée <=
- [PATCH v1 33/39] contrib/plugins: add execlog to log instruction execution and memory access, Alex Bennée, 2021/07/06
- [PATCH v1 23/39] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/06
- [PATCH v1 15/39] tests/docker: fix mistakes in centos package lists, Alex Bennée, 2021/07/06
- [PATCH v1 21/39] tests/docker: expand ubuntu1804 package list, Alex Bennée, 2021/07/06
- [PATCH v1 26/39] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/06
- [PATCH v1 28/39] meson.build: move TCG plugin summary output, Alex Bennée, 2021/07/06
- [PATCH v1 20/39] tests/docker: expand fedora package list, Alex Bennée, 2021/07/06
- [PATCH v1 30/39] configure: stop user enabling plugins on Windows for now, Alex Bennée, 2021/07/06