Commit 7384ec19 authored by Max Kellermann's avatar Max Kellermann

Compiler.h: remove support for GCC 4.9

Supporting GCC 4.9 is becoming cumbersome as we refactor more code to C++14. This shouldn't be a problem for anybody, because Debian Stable (Stretch) has version 6.3, and Ubuntu LTS (Xenial) has version 5.3.
parent 7bce6329
...@@ -17,6 +17,7 @@ ver 0.21 (not yet released) ...@@ -17,6 +17,7 @@ ver 0.21 (not yet released)
- sndio: remove support for the broken RoarAudio sndio emulation - sndio: remove support for the broken RoarAudio sndio emulation
* mixer * mixer
- sndio: new mixer plugin - sndio: new mixer plugin
* require GCC 5.0
ver 0.20.14 (not yet released) ver 0.20.14 (not yet released)
* database * database
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<listitem> <listitem>
<para> <para>
the code should be C++14 compliant, and must compile with the code should be C++14 compliant, and must compile with
<application>GCC</application> 4.9 and <application>GCC</application> 5.0 and
<application>clang</application> 3.4 <application>clang</application> 3.4
</para> </para>
</listitem> </listitem>
......
...@@ -87,7 +87,7 @@ cd mpd-version</programlisting> ...@@ -87,7 +87,7 @@ cd mpd-version</programlisting>
<listitem> <listitem>
<para> <para>
a C++14 compiler (e.g. <ulink a C++14 compiler (e.g. <ulink
url="http://gcc.gnu.org/">gcc 4.9</ulink> or <ulink url="http://gcc.gnu.org/">gcc 5.0</ulink> or <ulink
url="http://clang.llvm.org/">clang 3.9</ulink>) url="http://clang.llvm.org/">clang 3.9</ulink>)
</para> </para>
</listitem> </listitem>
......
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
# 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,9) # if GCC_OLDER_THAN(5,0)
# error Sorry, your gcc version is too old. You need at least version 4.9. # error Sorry, your gcc version is too old. You need at least version 5.0.
# endif # endif
#else #else
# warning Untested compiler. Use at your own risk! # warning Untested compiler. Use at your own risk!
......
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