doc/developer: require C++11
This commit is contained in:
parent
75ba961e97
commit
6a42e6f6d4
2
INSTALL
2
INSTALL
@ -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 @@
|
|||||||
|
|
||||||
<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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user