[goffice] Compilation: make missing prototypes hard errors like gnumeric.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: make missing prototypes hard errors like gnumeric.
- Date: Sat, 16 Feb 2013 00:05:25 +0000 (UTC)
commit 759c99618316a27b9fa8d6d4af0e03a7d576eacc
Author: Morten Welinder <terra gnome org>
Date: Fri Feb 15 19:03:21 2013 -0500
Compilation: make missing prototypes hard errors like gnumeric.
configure.ac | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 33a65dc..6b1b128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,12 +414,13 @@ if test "$GCC" = "yes" -a "x$set_more_warnings" != "xno"; then
-Wchar-subscripts -Wwrite-strings \
-Wdeclaration-after-statement -Wnested-externs \
-Wmissing-noreturn -Wmissing-prototypes \
+ -Werror=missing-prototypes -Werror=nested-externs \
+ -Werror=implicit-function-declaration \
-Wmissing-declarations -Wno-pointer-sign \
- -Wbitwise -Wcast-to-as \
+ -Werror=format-security -Wbitwise -Wcast-to-as \
-Wdefault-bitfield-sign -Wdo-while -Wparen-string \
- -Wptr-subtraction-blows -Wreturn-void -Wtypesign \
- -Werror=format-security"
- if test goffice_devel = yes; then
+ -Wptr-subtraction-blows -Wreturn-void -Wtypesign"
+ if test $goffice_devel = yes; then
dnl Avoid triggering a warning in gtk+ headers for stable.
warning_options="$warning_options -Wstrict-prototypes"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]