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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Apr 14 17:13:04 CEST 2006


Revision: 21895
Author:   fingolfin
Date:     2006-04-14 17:12:14 -0700 (Fri, 14 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21895&view=rev

Log Message:
-----------
Disable RTTI and exceptions (we don't use 'em and over here it saves 700kb in the executable)

Modified Paths:
--------------
    scummvm/trunk/Makefile
Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile	2006-04-14 23:21:59 UTC (rev 21894)
+++ scummvm/trunk/Makefile	2006-04-15 00:12:14 UTC (rev 21895)
@@ -24,8 +24,11 @@
 # Even more warnings...
 CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion
 CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor
-CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new
+CXXFLAGS+= -Wno-reorder -Wwrite-strings
 
+# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
+CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
+
 #######################################################################
 # Misc stuff - you should never have to edit this                     #
 #######################################################################


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





More information about the Scummvm-git-logs mailing list