doc/developer: require C++11

This commit is contained in:
Max Kellermann 2013-10-20 13:03:32 +02:00
parent 75ba961e97
commit 6a42e6f6d4
2 changed files with 6 additions and 13 deletions

View File

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

View File

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