Skip to content

Commit 8576b11

Browse files
committed
Add warnings for use with --enable-warnings=fatal
Added use -Wsuggest-override and -Wzero-as-null-pointer-constant.
1 parent 6ad9036 commit 8576b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ AS_IF([test "x$config_error" = xyes],
6262
# Evaluate the --enable-warnings=level option.
6363
MM_ARG_ENABLE_WARNINGS([SIGC_WXXFLAGS],
6464
[-Wall],
65-
[-pedantic -Wall -Wextra -Wshadow -Wformat-security])
65+
[-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security])
6666

6767
# Offer the ability to omit some API from the library.
6868
MM_ARG_DISABLE_DEPRECATED_API([SIGCXX])

0 commit comments

Comments
 (0)