require GCC 6

Meanwhile, GCC 5 fails to compile MPD due to incomplete C++14
implementation.
This commit is contained in:
Max Kellermann 2018-07-06 19:44:32 +02:00
parent 9a29d02e7e
commit a72d1200fb
4 changed files with 5 additions and 5 deletions

2
NEWS
View File

@ -30,7 +30,7 @@ ver 0.21 (not yet released)
- sndio: new mixer plugin
* encoder
- opus: support for sending metadata using ogg stream chaining
* require GCC 5.0
* require GCC 6
ver 0.20.21 (not yet released)
* database

View File

@ -47,7 +47,7 @@
<listitem>
<para>
the code should be C++14 compliant, and must compile with
<application>GCC</application> 5.0 and
<application>GCC</application> 6.0 and
<application>clang</application> 3.4
</para>
</listitem>

View File

@ -91,7 +91,7 @@ cd mpd-version</programlisting>
<listitem>
<para>
a C++14 compiler (e.g. <ulink
url="http://gcc.gnu.org/">gcc 5.0</ulink> or <ulink
url="http://gcc.gnu.org/">gcc 6.0</ulink> or <ulink
url="http://clang.llvm.org/">clang 3.9</ulink>)
</para>
</listitem>

View File

@ -62,8 +62,8 @@
# error Sorry, your clang version is too old. You need at least version 3.1.
# endif
#elif defined(__GNUC__)
# if GCC_OLDER_THAN(5,0)
# error Sorry, your gcc version is too old. You need at least version 5.0.
# if GCC_OLDER_THAN(6,0)
# error Sorry, your gcc version is too old. You need at least version 6.0.
# endif
#else
# warning Untested compiler. Use at your own risk!