aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-20 13:03:32 +0200
committerMax Kellermann <max@duempel.org>2013-10-20 13:03:32 +0200
commit6a42e6f6d4e64e0e1c3dbc126d616edbf97deead (patch)
tree08d0dff8a5619ad53058398141aebf6c78656328
parent75ba961e97606030d1c976696fb8623fbb0e27df (diff)
downloadmpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.tar.gz
mpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.tar.xz
mpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.zip
doc/developer: require C++11
Diffstat (limited to '')
-rw-r--r--INSTALL2
-rw-r--r--doc/developer.xml17
2 files changed, 6 insertions, 13 deletions
diff --git a/INSTALL b/INSTALL
index af80a727c..e79294f63 100644
--- a/INSTALL
+++ b/INSTALL
@@ -11,7 +11,7 @@ Dependencies
------------
gcc - http://gcc.gnu.org/
-Any other C99 compliant compiler should also work.
+Any other C++11 compliant compiler should also work.
GLib 2.28 - http://www.gtk.org/
General-purpose utility library.
diff --git a/doc/developer.xml b/doc/developer.xml
index eb318fa5a..3b6d0a086 100644
--- a/doc/developer.xml
+++ b/doc/developer.xml
@@ -32,23 +32,16 @@
<listitem>
<para>
- don't write CPP when you can write C: use inline functions
- and enums instead of macros
+ don't write CPP when you can write C++: use inline
+ functions and constexpr instead of macros
</para>
</listitem>
<listitem>
<para>
- the code should be C99 compliant, and must compile with
- <application>GCC</application>;
- <application>clang</application> support is highly desirable
- </para>
- </listitem>
-
- <listitem>
- <para>
- C++ is ok (for integrating C++ only libraries), but it
- should be avoided
+ the code should be C++11 compliant, and must compile with
+ <application>GCC</application> 4.6 and
+ <application>clang</application> 3.2
</para>
</listitem>