[libxslt] Update GCC compiler warnings
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Update GCC compiler warnings
- Date: Thu, 1 Sep 2022 12:43:01 +0000 (UTC)
commit 0166191a342b192e3907cd85b58dcfa764a4691a
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Thu Sep 1 07:51:27 2022 +0200
Update GCC compiler warnings
Use warning list from libxml2 excluding -pedantic.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index baeee600..873be77d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,7 +338,7 @@ if test "${GCC}" != "yes" ; then
;;
esac
else
- CFLAGS="${CFLAGS} -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wshadow"
+ CFLAGS="${CFLAGS} -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
case "${host}" in
alpha*-*-linux* )
CFLAGS="${CFLAGS} -mieee"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]