diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-03-07 16:58:11 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-03-07 16:58:11 (GMT) |
commit | 5fabfb6079083e99709c51fce72c91fa697b70c4 (patch) | |
tree | c882cb74ba8d8d8c076d424f8c8a81f77ae5501f /config | |
parent | d447f6a1c528643cbcdbc5e83de8474cc2b24007 (diff) | |
download | hdf5-5fabfb6079083e99709c51fce72c91fa697b70c4.zip hdf5-5fabfb6079083e99709c51fce72c91fa697b70c4.tar.gz hdf5-5fabfb6079083e99709c51fce72c91fa697b70c4.tar.bz2 |
[svn-r29312] Removed -Wnonnull from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial w/ C++
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-cxxflags | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags index 8d1ca67..9d72b8f 100644 --- a/config/gnu-cxxflags +++ b/config/gnu-cxxflags @@ -437,8 +437,8 @@ case "$cxx_vendor-$cxx_version" in # Replace old -W flag with new -Wextra flag H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" - # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + # Append more extra warning flags that only gcc 4.0+ knows about + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations" @@ -493,8 +493,8 @@ case "$cxx_vendor-$cxx_version" in # Replace old -W flag with new -Wextra flag H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" - # Append more extra warning flags that only gcc4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + # Append more extra warning flags that only gcc4.0+ knows about + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations" @@ -546,7 +546,7 @@ case "$cxx_vendor-$cxx_version" in H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations" @@ -595,7 +595,7 @@ case "$cxx_vendor-$cxx_version" in H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations -Wvolatile-register-var" @@ -641,7 +641,7 @@ case "$cxx_vendor-$cxx_version" in H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations -Wvolatile-register-var" @@ -681,7 +681,7 @@ case "$cxx_vendor-$cxx_version" in H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" # Append more extra warning flags that only gcc 4.1+ know about H5_CXXFLAGS="$H5_CXXFLAGS -Wunsafe-loop-optimizations -Wvolatile-register-var" @@ -718,7 +718,7 @@ case "$cxx_vendor-$cxx_version" in H5_CXXFLAGS="`echo $H5_CXXFLAGS | sed -e 's/-W\ /-Wextra\ /g'`" # Append more extra warning flags that only gcc 4.0+ know about - H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" + H5_CXXFLAGS="$H5_CXXFLAGS -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros" ;; g++-3.4*) |