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:
parent
8825393660
commit
77c6e45e65
2
INSTALL
2
INSTALL
@ -12,7 +12,7 @@ install MPD. If more information is desired, read the user manual:
|
|||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
gcc 4.6 or later - http://gcc.gnu.org/
|
gcc 4.7 or later - http://gcc.gnu.org/
|
||||||
clang 3.2 or later - http://clang.llvm.org/
|
clang 3.2 or later - http://clang.llvm.org/
|
||||||
Any other C++11 compliant compiler should also work.
|
Any other C++11 compliant compiler should also work.
|
||||||
|
|
||||||
|
1
NEWS
1
NEWS
@ -3,6 +3,7 @@ ver 0.19.18 (not yet released)
|
|||||||
- ffmpeg: fix crash with older FFmpeg versions (< 3.0)
|
- ffmpeg: fix crash with older FFmpeg versions (< 3.0)
|
||||||
- ffmpeg: log detailed error message
|
- ffmpeg: log detailed error message
|
||||||
- ffmpeg: support FFmpeg 3.1
|
- ffmpeg: support FFmpeg 3.1
|
||||||
|
* require gcc 4.7 or newer
|
||||||
|
|
||||||
ver 0.19.17 (2016/07/09)
|
ver 0.19.17 (2016/07/09)
|
||||||
* decoder
|
* decoder
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
the code should be C++11 compliant, and must compile with
|
the code should be C++11 compliant, and must compile with
|
||||||
<application>GCC</application> 4.6 and
|
<application>GCC</application> 4.7 and
|
||||||
<application>clang</application> 3.2
|
<application>clang</application> 3.2
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
# error Sorry, your clang version is too old. You need at least version 3.1.
|
# error Sorry, your clang version is too old. You need at least version 3.1.
|
||||||
# endif
|
# endif
|
||||||
#elif defined(__GNUC__)
|
#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.
|
# error Sorry, your gcc version is too old. You need at least version 4.6.
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user