Makefile.common |  4 ++--
 README          |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


Use the C11 standard when compiling C code, and the C++11 standard when
compiling C++ code. For GCC, this means that we also bump the recommended
minimum version to 4.8.1, which is the first version where all major features of
C++11 were fully implemented (though most C++11 features were implemented
already in earlier versions).

diff --git a/Makefile.common b/Makefile.common
--- a/Makefile.common
+++ b/Makefile.common
@@ -12,8 +12,8 @@ AM_CPPFLAGS = \
        $(CORE_INCLUDES) \
        $(all_includes)
 
-AM_CFLAGS = -Wall -fno-strict-aliasing -Werror -fPIC @OSAF_HARDEN_FLAGS@ 
-DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"' 
-AM_CXXFLAGS = -Wall -fno-strict-aliasing -Werror -fPIC -D__STDC_FORMAT_MACROS 
@OSAF_HARDEN_FLAGS@ -DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"' 
+AM_CFLAGS = -std=gnu11 -Wall -fno-strict-aliasing -Werror -fPIC 
@OSAF_HARDEN_FLAGS@ -DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"'
+AM_CXXFLAGS = -std=gnu++11 -Wall -fno-strict-aliasing -Werror -fPIC 
-D__STDC_FORMAT_MACROS @OSAF_HARDEN_FLAGS@ 
-DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"'
 AM_LDFLAGS = -ldl -lrt -lpthread
 
 systemdversion = $(systemdmodversion)
diff --git a/README b/README
--- a/README
+++ b/README
@@ -258,7 +258,7 @@ The following software is required to bu
     * autoconf (2.61 or later)
     * libtool
     * pkg-config
-    * gcc/g++ (4.3 or later)
+    * gcc/g++ (4.8.1 or later)
     * GNU make
     * python-dev(el)
     * Optionally:

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to