summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-07-15 11:44:54 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-07-15 11:45:58 +0200
commit90df091409fd5addf9d75c4d637d39e0e67e115a (patch)
tree4559716f6af16959b1445d8ec266ce4f2cc32a5d
parent6638238e1453ecb4334ef10bae2341538e5b6ddf (diff)
downloadglibmm-90df091409fd5addf9d75c4d637d39e0e67e115a.tar.gz
configure.ac: Use -Wsuggest-override and -Wshadow with --enable-warnings=fatal.
Although -Wsuggest-override isn't actually available yet in my version of g++ (4.9.2).
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3ddef78e..a2b99cfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING
# Evaluate the --enable-warnings=level option.
MM_ARG_ENABLE_WARNINGS([GLIBMM_WXXFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra -Wformat-security -Wno-long-long],
+ [-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow -Wno-long-long],
[G SIGCXX])
# Offer the ability to omit some API from the library,