aboutsummaryrefslogtreecommitdiffstats
path: root/doc/developer.xml
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 /doc/developer.xml
parent75ba961e97606030d1c976696fb8623fbb0e27df (diff)
downloadmpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.tar.gz
mpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.tar.xz
mpd-6a42e6f6d4e64e0e1c3dbc126d616edbf97deead.zip
doc/developer: require C++11
Diffstat (limited to '')
-rw-r--r--doc/developer.xml17
1 files changed, 5 insertions, 12 deletions
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>