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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Aug 11 14:49:28 CEST 2010


Revision: 51975
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51975&view=rev
Author:   fingolfin
Date:     2010-08-11 12:49:28 +0000 (Wed, 11 Aug 2010)

Log Message:
-----------
BUILD: Add -Wglobal-constructors to default warnings

Modified Paths:
--------------
    scummvm/trunk/Makefile

Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile	2010-08-11 12:49:16 UTC (rev 51974)
+++ scummvm/trunk/Makefile	2010-08-11 12:49:28 UTC (rev 51975)
@@ -27,6 +27,8 @@
 	# Enable even more warnings...
 	CXXFLAGS+= -Wpointer-arith -Wcast-qual
 	CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings
+	# Warn if global constructors are used.
+	CXXFLAGS+= -Wglobal-constructors
 
 	# Currently we disable this gcc flag, since it will also warn in cases,
 	# where using GCC_PRINTF (means: __attribute__((format(printf, x, y))))


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