From f50629ed52d3b4597e11734680c5e5791413b118 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Mon, 25 Apr 2016 11:35:40 -0500 Subject: [svn-r29793] Removed -Waggregate-return from gnu C++ flags. This flag generates a large number of warnings and is considered obsolete since its primary purpose seems to have been to support ancient compilers that could not return an aggregate. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 Autotools serial w/ C++ --- config/gnu-cxxflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags index 52f46dd..f87ef8e 100644 --- a/config/gnu-cxxflags +++ b/config/gnu-cxxflags @@ -94,7 +94,7 @@ case "$cxx_vendor-$cxx_version" in esac # General (copied from H5_CFLAGS) - H5_CXXFLAGS="$H5_CXXFLAGS $arch -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wredundant-decls -Winline" + H5_CXXFLAGS="$H5_CXXFLAGS $arch -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wredundant-decls -Winline" # C++-specific H5_CXXFLAGS="$H5_CXXFLAGS -Wsign-promo -Woverloaded-virtual -Wold-style-cast -Weffc++ -Wreorder -Wnon-virtual-dtor -Wctor-dtor-privacy -Wabi" -- cgit v0.12