diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-11-12 11:19:02 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-11-12 11:26:04 +0100 |
commit | 1755af6e6dc62157737c18e3ed8f5beb4b06e25a (patch) | |
tree | 5c9fe880f2d1c3ef4daa7dea4bfec76e8a9cb1d3 /configure.ac | |
parent | 56d48412c97ebb4662f08427cb1cbc39a1604aa6 (diff) | |
download | glibmm-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.ac | 2 |
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, |