← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3114: oops, -Og is only in GCC 4.8

 

------------------------------------------------------------
revno: 3114
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Tue 2012-11-06 20:04:43 +0100
message:
  oops, -Og is only in GCC 4.8
modified:
  SConstruct


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2012-11-06 18:40:25 +0000
+++ SConstruct	2012-11-06 19:04:43 +0000
@@ -16,15 +16,17 @@
 
 # TODO the omit-frame-pointer is disabled; it causes freezes when using lambdas in plugin callbacks.
 
+# TODO add -Og when using GCC 4.8
+
 # TODO enable LTO when it doesn't ICE... (-flto)
 
 # TODO remove -Wno-format when http://cygwin.com/ml/cygwin/2012-01/msg00061.html
 # ("mingw64-i686-gcc-4.5.3-4: -Wformat warnings broken in C++") fixed
 
 gcc_flags = {
-	'common': ['-g', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-Wno-unknown-pragmas', '-Wno-format', '-fexceptions', '-fno-omit-frame-pointer', '-mthreads'],
-	'debug': ['-Og'], 
-	'release' : ['-O3', '-fno-ipa-cp-clone', '-mwindows']
+	'common': ['-g', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-Wno-unknown-pragmas', '-Wno-format', '-fexceptions', '-mthreads'],
+	'debug': [], 
+	'release' : ['-O3', '-fno-omit-frame-pointer', '-fno-ipa-cp-clone', '-mwindows']
 }
 
 gcc_xxflags = {