diff options
author | Dimitrij Mijoski <dmjpp@hotmail.com> | 2022-02-18 00:35:42 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-02-18 08:20:14 +0000 |
commit | 601cc2bd6530d995694bd3a531d8d7a9ef3b7df0 (patch) | |
tree | 2d2d8761e66a0aeedaf32a1c76033b139bc38b84 | |
parent | b158b93901b0364b0fad725b613c0e9b6ccbfa05 (diff) | |
download | enchant-601cc2bd6530d995694bd3a531d8d7a9ef3b7df0.tar.gz |
Reduce warnings
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
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]) |