aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 11:39:46 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 11:39:46 +0200
commite7e52c24f53cd3b4614d63f8f1adb7263d4ddd75 (patch)
tree2107e1bb7fce8878fe2625d1fc33b7ff8b7832a1 /src
parente2a574e2a00803f45ed6f60154f01dd2ccc8444a (diff)
downloadmpd-e7e52c24f53cd3b4614d63f8f1adb7263d4ddd75.tar.gz
mpd-e7e52c24f53cd3b4614d63f8f1adb7263d4ddd75.tar.xz
mpd-e7e52c24f53cd3b4614d63f8f1adb7263d4ddd75.zip
gcc.h: require gcc 4.6
We use range-based for and nullptr, which was not implemented prior to gcc 4.6.
Diffstat (limited to '')
-rw-r--r--src/gcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gcc.h b/src/gcc.h
index 22b712af9..e921b4646 100644
--- a/src/gcc.h
+++ b/src/gcc.h
@@ -81,8 +81,8 @@
#ifdef __cplusplus
-#if !defined(__clang__) && defined(__GNUC__) && !GCC_CHECK_VERSION(4,5)
-#error Your gcc version is too old. MPD requires gcc 4.5 or newer.
+#if !defined(__clang__) && defined(__GNUC__) && !GCC_CHECK_VERSION(4,6)
+#error Your gcc version is too old. MPD requires gcc 4.6 or newer.
#endif
/* support for C++11 "override" was added in gcc 4.7 */