mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[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++
This commit is contained in:
parent
0d5910683d
commit
f50629ed52
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user