559,561c559,560
< # We always compile using C++11, but only gcc >= 4.7 and clang 3.1
< # actually use that name, so we stick with c++0x
< main.Append(CXXFLAGS=['-std=c++0x'])
---
> # We always compile using C++11
> main.Append(CXXFLAGS=['-std=c++11'])
585c584
< # Check for a supported version of gcc. >= 4.6 is chosen for its
---
> # Check for a supported version of gcc. >= 4.7 is chosen for its
587,588c586
< # http://gcc.gnu.org/projects/cxx0x.html for details. 4.6 is also
< # the first version with proper LTO support.
---
> # http://gcc.gnu.org/projects/cxx0x.html for details.
590,591c588,589
< if compareVersions(gcc_version, "4.6") < 0:
< print 'Error: gcc version 4.6 or newer required.'
---
> if compareVersions(gcc_version, "4.7") < 0:
> print 'Error: gcc version 4.7 or newer required.'
645,646c643,644
< # Check for a supported version of clang, >= 3.0 is needed to
< # support similar features as gcc 4.6. See
---
> # Check for a supported version of clang, >= 3.1 is needed to
> # support similar features as gcc 4.7. See
652,653c650,651
< if compareVersions(clang_version, "3.0") < 0:
< print 'Error: clang version 3.0 or newer required.'
---
> if compareVersions(clang_version, "3.1") < 0:
> print 'Error: clang version 3.1 or newer required.'