diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-04-25 16:35:40 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-04-25 16:35:40 (GMT) |
commit | f50629ed52d3b4597e11734680c5e5791413b118 (patch) | |
tree | 2375c0e9568ad23f2723831c763ce57be908dc94 | |
parent | 0d5910683d3ed82f80164573146c6c5aaf53db48 (diff) | |
download | hdf5-f50629ed52d3b4597e11734680c5e5791413b118.zip hdf5-f50629ed52d3b4597e11734680c5e5791413b118.tar.gz hdf5-f50629ed52d3b4597e11734680c5e5791413b118.tar.bz2 |
[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++
-rw-r--r-- | config/gnu-cxxflags | 2 |
1 files changed, 1 insertions, 1 deletions
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" |