From 6a42e6f6d4e64e0e1c3dbc126d616edbf97deead Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 20 Oct 2013 13:03:32 +0200 Subject: [PATCH] doc/developer: require C++11 --- INSTALL | 2 +- doc/developer.xml | 17 +++++------------ 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 @@ - 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 - the code should be C99 compliant, and must compile with - GCC; - clang support is highly desirable - - - - - - C++ is ok (for integrating C++ only libraries), but it - should be avoided + the code should be C++11 compliant, and must compile with + GCC 4.6 and + clang 3.2