[Gnucash-changes] r13495 - gnucash/trunk - A different tact to test
enable-error-on-warning.
Derek Atkins
warlord at cvs.gnucash.org
Sun Mar 5 14:57:39 EST 2006
Author: warlord
Date: 2006-03-05 14:57:37 -0500 (Sun, 05 Mar 2006)
New Revision: 13495
Trac: http://svn.gnucash.org/trac/changeset/13495
Modified:
gnucash/trunk/configure.in
Log:
A different tact to test enable-error-on-warning.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2006-03-05 19:47:21 UTC (rev 13494)
+++ gnucash/trunk/configure.in 2006-03-05 19:57:37 UTC (rev 13495)
@@ -2019,7 +2019,6 @@
# Enable error-on-warning by default -- I'm tired of fixing other
# people's missing #includes, etc.
- gnc_error_on_warning=auto
AC_ARG_ENABLE(error-on-warning,
[ --disable-error-on-warning disable treating compile warnings as errors],
[case "${enableval}" in
@@ -2027,7 +2026,7 @@
no) gnc_error_on_warning=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
esac],
- [ warnFLAGS="${warnFLAGS} -Werror" ])
+ [ warnFLAGS="${warnFLAGS} -Werror"; gnc_error_on_warning=auto ])
# For gcc >= 3.4.x, specifically enable the new warning switch
# -Wdeclaration-after-statement in order to preserve source code
More information about the gnucash-changes
mailing list