From 601cc2bd6530d995694bd3a531d8d7a9ef3b7df0 Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Fri, 18 Feb 2022 00:35:42 +0100 Subject: Reduce warnings --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 78df0ce..60abf42 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,8 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wconversion" # These warnings usually don’t point to mistakes. nw="$nw -Wsign-conversion" # Likewise. nw="$nw -Wimplicit-fallthrough=5" # We want to allow "fallthrough" comments. + nw="$nw -Wold-style-cast" # Warning from glib macros like g_new0 + nw="$nw -Wuseless-cast" # Likewise gl_MANYWARN_ALL_GCC([warnings]) -- cgit v1.2.1