Compiler.h: require gcc 4.7 or newer

The ScopeExit library uses C++11 initializers, which gcc 4.6 does not
support.  Let's kill support for this ancient incomplete C++11
compiler, nobody should be using it anymore.
This commit is contained in:
Max Kellermann
2016-07-29 09:52:23 +02:00
parent 8825393660
commit 77c6e45e65
4 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
# error Sorry, your clang version is too old. You need at least version 3.1.
# endif
#elif defined(__GNUC__)
# if GCC_OLDER_THAN(4,6)
# if GCC_OLDER_THAN(4,7)
# error Sorry, your gcc version is too old. You need at least version 4.6.
# endif
#else