Skip to content

Commit

Permalink
require GCC 6
Browse files Browse the repository at this point in the history
Meanwhile, GCC 5 fails to compile MPD due to incomplete C++14
implementation.
  • Loading branch information
MaxKellermann committed Jul 6, 2018
1 parent 9a29d02 commit a72d120
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NEWS
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/developer.xml
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion doc/user.xml
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/Compiler.h
Expand Up @@ -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!
Expand Down

0 comments on commit a72d120

Please sign in to comment.