[Scummvm-cvs-logs] SF.net SVN: scummvm:[51979] scummvm/trunk/Makefile
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Aug 11 15:29:49 CEST 2010
Revision: 51979
http://scummvm.svn.sourceforge.net/scummvm/?rev=51979&view=rev
Author: fingolfin
Date: 2010-08-11 13:29:49 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
Disable -Wglobal-constructors by default
Modified Paths:
--------------
scummvm/trunk/Makefile
Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile 2010-08-11 12:50:18 UTC (rev 51978)
+++ scummvm/trunk/Makefile 2010-08-11 13:29:49 UTC (rev 51979)
@@ -27,8 +27,6 @@
# 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))))
@@ -44,6 +42,10 @@
CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants
endif
+# Warn if global constructors are used. Only available in GCC with LLVM backend
+# (and maybe clang?), hence off by default.
+#CXXFLAGS+= -Wglobal-constructors
+
#######################################################################
# Default commands - put the necessary replacements in config.mk #
#######################################################################
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