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.
This commit is contained in:
Max Kellermann 2017-12-27 08:40:24 +01:00
parent 7bce6329e3
commit 7384ec199e
4 changed files with 5 additions and 4 deletions

1
NEWS
View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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!