Commit 6a42e6f6 authored by Max Kellermann's avatar Max Kellermann

doc/developer: require C++11

parent 75ba961e
...@@ -11,7 +11,7 @@ Dependencies ...@@ -11,7 +11,7 @@ Dependencies
------------ ------------
gcc - http://gcc.gnu.org/ 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/ GLib 2.28 - http://www.gtk.org/
General-purpose utility library. General-purpose utility library.
......
...@@ -32,23 +32,16 @@ ...@@ -32,23 +32,16 @@
<listitem> <listitem>
<para> <para>
don't write CPP when you can write C: use inline functions don't write CPP when you can write C++: use inline
and enums instead of macros functions and constexpr instead of macros
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
the code should be C99 compliant, and must compile with the code should be C++11 compliant, and must compile with
<application>GCC</application>; <application>GCC</application> 4.6 and
<application>clang</application> support is highly desirable <application>clang</application> 3.2
</para>
</listitem>
<listitem>
<para>
C++ is ok (for integrating C++ only libraries), but it
should be avoided
</para> </para>
</listitem> </listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment