Yes, this enhancement has now been approved and I will push it later today.
/ Anders Widell On 07/16/2015 04:32 AM, Gary Lee wrote: > Hi > > Any update on this? I'd like to use some C++11 features to refactor some > AMF code. Just simple things > like auto and range-based for loops would make the code much cleaner. > > Thanks > Gary > > On 21/05/15 21:31, Anders Widell wrote: >> 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 >> Opensaf-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/opensaf-devel > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Opensaf-devel mailing list > Opensaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensaf-devel > > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel