------------------------------------------------------------ revno: 3239 committer: poy <p...@123gen.com> branch nick: trunk timestamp: Mon 2013-03-25 21:52:49 +0100 message: GCC 4.8 modified: Compile.txt SConstruct dcpp/atomic.h dcpp/compiler.h win32/compiler.h
-- 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 'Compile.txt' --- Compile.txt 2013-03-03 23:23:53 +0000 +++ Compile.txt 2013-03-25 20:52:49 +0000 @@ -50,7 +50,7 @@ 2. Compiler - a. MinGW (GCC 4.7 or later): + a. MinGW (GCC 4.8 or later): <http://sourceforge.net/projects/mingw-w64/files/> <http://sourceforge.net/projects/mingw/files/> === modified file 'SConstruct' --- SConstruct 2013-01-31 19:24:01 +0000 +++ SConstruct 2013-03-25 20:52:49 +0000 @@ -5,25 +5,20 @@ import os,sys from build_util import Dev, gen_po_name -# force DWARF 4 in order to benefit from the typed DWARF stack (duplicated type info entries are -# grouped in a new .debug_types section). reduces the pdb size by 15MB and improves type resolution -# in the crash logger. -# TODO switch to DWARF 4 in the future when the following bugs are fixed: -# - ICE when building in release mode -# - GDB crash: <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47308> - # TODO the ipa-cp-clone optimization is disabled; it causes a crash when starting a DL. -# 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 +# TODO remove -Wno-unused-local-typedefs when boost doesn't trigger it + +# TODO add -fdebug-types-section when it doesn't ICE + gcc_flags = { - 'common': ['-g', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-Wno-unknown-pragmas', '-Wno-format', '-fexceptions', '-mthreads'], - 'debug': [], + 'common': ['-g', '-Wall', '-Wextra', '-Wno-unused-local-typedefs', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-Wno-unknown-pragmas', '-Wno-format', '-fexceptions', '-mthreads'], + 'debug': ['-Og'], 'release' : ['-O3', '-fno-ipa-cp-clone', '-mwindows'] } @@ -62,7 +57,7 @@ gcc_link_flags = { 'common' : ['-g', '-static-libgcc', '-static-libstdc++', '-Wl,--no-undefined,--nxcompat,--dynamicbase', '-time', '-mthreads'], - 'debug' : [], + 'debug' : ['-Og'], 'release' : ['-O3', '-mwindows'] } === modified file 'dcpp/atomic.h' --- dcpp/atomic.h 2013-01-18 21:28:38 +0000 +++ dcpp/atomic.h 2013-03-25 20:52:49 +0000 @@ -21,7 +21,7 @@ // GCC has issues with atomic - see https://bugs.launchpad.net/dcplusplus/+bug/735512 /// @todo check this again when GCC improves their threading support -#if defined(__GNUC__) +#if 0 #include <boost/atomic.hpp> === modified file 'dcpp/compiler.h' --- dcpp/compiler.h 2013-03-03 23:23:53 +0000 +++ dcpp/compiler.h 2013-03-25 20:52:49 +0000 @@ -20,8 +20,8 @@ #define DCPLUSPLUS_DCPP_COMPILER_H #if defined(__GNUC__) -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) -#error GCC 4.7 is required +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) +#error GCC 4.8 is required #endif #ifndef HAVE_MINGW64 === modified file 'win32/compiler.h' --- win32/compiler.h 2013-03-03 23:23:53 +0000 +++ win32/compiler.h 2013-03-25 20:52:49 +0000 @@ -17,8 +17,8 @@ */ #if defined(__GNUC__) -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) -#error GCC 4.7 is required +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) +#error GCC 4.8 is required #endif #ifndef HAVE_MINGW64
_______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp