[Scummvm-cvs-logs] SF.net SVN: scummvm: [20792] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Feb 20 07:47:02 CET 2006


Revision: 20792
Author:   fingolfin
Date:     2006-02-20 07:46:10 -0800 (Mon, 20 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20792&view=rev

Log Message:
-----------
Added --enable-Werror option to our configure script

Modified Paths:
--------------
    scummvm/trunk/Makefile
    scummvm/trunk/configure
Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile	2006-02-20 15:16:26 UTC (rev 20791)
+++ scummvm/trunk/Makefile	2006-02-20 15:46:10 UTC (rev 20792)
@@ -18,9 +18,6 @@
 # Load the make rules generated by configure
 include config.mak
 
-# Uncomment this for stricter compile time code verification
-# CXXFLAGS+= -Werror
-
 CXXFLAGS:= -Wall $(CXXFLAGS)
 CXXFLAGS+= -O -Wuninitialized
 CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2006-02-20 15:16:26 UTC (rev 20791)
+++ scummvm/trunk/configure	2006-02-20 15:46:10 UTC (rev 20792)
@@ -291,6 +291,7 @@
 
 Optional Features:
   --disable-debug          disable building with debugging symbols
+  --enable-Werror          treat warnings as errors
   --disable-scumm          don't build the SCUMM engine
   --disable-scumm-7-8      exclude v7 and v8 game in SCUMM engine (ft, dig, comi and demos)
   --disable-he             exclude HE70+ games in SCUMM engine
@@ -444,6 +445,9 @@
       --disable-debug)
         DEBFLAGS=""
         ;;
+      --enable-Werror)
+        CXXFLAGS="$CXXFLAGS -Werror"
+        ;;
       --enable-release)
         DEBFLAGS="-O2"
         ;;







More information about the Scummvm-git-logs mailing list