[libsigc++2] Add warnings for use with --enable-warnings=fatal
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2] Add warnings for use with --enable-warnings=fatal
- Date: Thu, 12 Nov 2015 10:12:07 +0000 (UTC)
commit 8576b11ca0c4a6cbcc564149d832b22870415b0b
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Nov 12 11:11:39 2015 +0100
Add warnings for use with --enable-warnings=fatal
Added use -Wsuggest-override and -Wzero-as-null-pointer-constant.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d48d4f9..ad14296 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ AS_IF([test "x$config_error" = xyes],
# Evaluate the --enable-warnings=level option.
MM_ARG_ENABLE_WARNINGS([SIGC_WXXFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra -Wshadow -Wformat-security])
+ [-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant
-Wformat-security])
# Offer the ability to omit some API from the library.
MM_ARG_DISABLE_DEPRECATED_API([SIGCXX])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]