Commit e7e52c24 authored by Max Kellermann's avatar Max Kellermann

gcc.h: require gcc 4.6

We use range-based for and nullptr, which was not implemented prior to gcc 4.6.
parent e2a574e2
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment