Revision: 42099
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42099&view=rev
Author:   brlcad
Date:     2011-01-11 23:18:14 +0000 (Tue, 11 Jan 2011)

Log Message:
-----------
now that more than 2/3rds of the package compiles completely free of warnings, 
go ahead and make verbose warnings the default.  fully sync the warning flags 
with strict so if strict is enabled, you're getting everything that 
--enable-warnings was providing along with -Werror.

Modified Paths:
--------------
    brlcad/trunk/configure.ac

Modified: brlcad/trunk/configure.ac
===================================================================
--- brlcad/trunk/configure.ac   2011-01-11 23:05:16 UTC (rev 42098)
+++ brlcad/trunk/configure.ac   2011-01-11 23:18:14 UTC (rev 42099)
@@ -357,7 +357,7 @@
 BC_ARG_ENABLE([build_verbose], [verbose], [Enable verbose compilation], [auto])
 
 # warnings
-BC_ARG_ENABLE([build_warnings], [warnings], [Enable verbose compilation 
warnings], [no])
+BC_ARG_ENABLE([build_warnings], [warnings], [Enable verbose compilation 
warnings], [yes])
 
 # build progress status
 BC_ARG_ENABLE([build_progress], [progress], [Enable verbose compilation 
progress], [no])
@@ -2118,7 +2118,7 @@
 fi
 AC_SUBST(NOWARN)
 if test "x$bc_build_warnings" != "xno" ; then
-       BC_COMPILER_AND_LINKER_RECOGNIZES([-W -Wall -Wundef -Wfloat-equal 
-Wshadow -Winline], [warning])
+       BC_COMPILER_AND_LINKER_RECOGNIZES([-pedantic -W -Wall -Wundef 
-Wfloat-equal -Wshadow -Winline -Wno-long-long], [warning])
        # XXX also of interest
        # -Wunreachable-code -Wmissing-declarations -Wmissing-prototypes 
-Wstrict-prototypes -ansi
        # -Wstrict-prototypes -Wold-style-definition -Wshorten-64-to-32 
-Wmissing-field-initializers
@@ -2136,7 +2136,7 @@
 
 dnl we are more strict on clean dirs by default (no-long-long needed due to 
tcl.h)
 if test "x$bc_build_strict" = "xyes" ; then
-   BC_COMPILER_AND_LINKER_RECOGNIZES([-w -pedantic -W -Wall -Werror 
-Wno-long-long], [strict], [no])
+   BC_COMPILER_AND_LINKER_RECOGNIZES([-w -pedantic -W -Wall -Wundef 
-Wfloat-equal -Wshadow -Winline -Wno-long-long -Werror], [strict], [no])
    if test "x$bc_strict_works" = "xyes" ; then
        # do not include -w as that was just to suppress any test warnings
        STRICT_FLAGS="-pedantic -W -Wall -Werror -Wno-long-long"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to