[PATCH] chore: enable more compiler warnings

4 views
Skip to first unread message

Michael Adler

unread,
Aug 1, 2023, 5:12:58 AM8/1/23
to efibootg...@googlegroups.com, Michael Adler
This commit enables additional compiler warnings. Also, we did not need
-Wno-unused-parameter, so let's enable it again.

Signed-off-by: Michael Adler <michae...@siemens.com>
---
Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index ba24400..ef18ffd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,11 @@ efibootguarddir = $(libdir)/efibootguard
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -include config.h

AM_CFLAGS = \
- -Wno-unused-parameter \
+ -Wall \
+ -Wextra \
+ -pedantic \
+ -Wstrict-prototypes \
+ -Wold-style-definition \
-Wmissing-prototypes \
-fshort-wchar \
-DHAVE_ENDIAN_H \
--
2.41.0

Jan Kiszka

unread,
Aug 8, 2023, 12:18:32 PM8/8/23
to Michael Adler, efibootg...@googlegroups.com
Thanks, applied.

Jan

--
Siemens AG, Technology
Linux Expert Center

Reply all
Reply to author
Forward
0 new messages