summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-11-12 11:19:02 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-11-12 11:26:04 +0100
commit1755af6e6dc62157737c18e3ed8f5beb4b06e25a (patch)
tree5c9fe880f2d1c3ef4daa7dea4bfec76e8a9cb1d3 /configure.ac
parent56d48412c97ebb4662f08427cb1cbc39a1604aa6 (diff)
downloadglibmm-1755af6e6dc62157737c18e3ed8f5beb4b06e25a.tar.gz
Use -Wzero-as-null-pointer-constant with --enable-warnings=fatal
But see mm-common bug #757979 .
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e8dd8ce1..fadb65ba 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 -Wsuggest-override -Wshadow -Wno-long-long],
+ [-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wno-long-long],
[G SIGCXX])
# Offer the ability to omit some API from the library,