summaryrefslogtreecommitdiff
path: root/src/Compiler.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-07-29 09:52:23 +0200
committerMax Kellermann <max@duempel.org>2016-07-29 09:52:23 +0200
commit77c6e45e65f986044d76376eaf69f4b998a71016 (patch)
tree4ca607beb29708bed188b5614427aece99bb68a9 /src/Compiler.h
parent8825393660b95664141ce818089359e1edd612a3 (diff)
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.
Diffstat (limited to 'src/Compiler.h')
-rw-r--r--src/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compiler.h b/src/Compiler.h
index fea971526..5a28c3da2 100644
--- a/src/Compiler.h
+++ b/src/Compiler.h
@@ -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