diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-07-14 17:46:03 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-07-14 17:46:03 (GMT) |
commit | d5031a55192ac6b8ca81a0e5315cb4739af98896 (patch) | |
tree | fe18b79aecf730454baa15427cafea6f73534f8e | |
parent | 9a221fd979a08cc81256eecc767ab4b96527de08 (diff) | |
download | hdf5-d5031a55192ac6b8ca81a0e5315cb4739af98896.zip hdf5-d5031a55192ac6b8ca81a0e5315cb4739af98896.tar.gz hdf5-d5031a55192ac6b8ca81a0e5315cb4739af98896.tar.bz2 |
Removed support for gcc 4.3 and earlier.
-rw-r--r-- | config/gnu-flags | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index c8fd724..9b61907 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -174,6 +174,7 @@ if test "X-gcc" = "X-$cc_vendor"; then H5_CFLAGS="$H5_CFLAGS -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked" H5_CFLAGS="$H5_CFLAGS -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wswitch-default" H5_CFLAGS="$H5_CFLAGS -Wundef -Wunused-macros -Wunsafe-loop-optimizations -Wwrite-strings" + H5_CFLAGS="$H5_CFLAGS -Wlogical-op -Wlarger-than=2560" ###################### # Developer warnings # @@ -193,12 +194,6 @@ if test "X-gcc" = "X-$cc_vendor"; then H5_CFLAGS="$H5_CFLAGS -Wno-long-long" fi - # -Wvolatile-register-var was later incorporated into -Wall and - # only needs to be specified explicitly for gcc 4.2-4.3 - if test $cc_vers_major -eq 4 -a $cc_vers_minor -ge 2 -o $cc_vers_major -eq 4 -a $cc_vers_minor -le 3; then - H5_CFLAGS="$H5_CFLAGS -Wvolatile-register-var" - fi - # -Wstrict-aliasing was later incorporated into -Wall and # only needs to be specified explicitly for gcc 4.5-4.6 if test $cc_vers_major -eq 4 -a $cc_vers_minor -ge 5 -o $cc_vers_major -eq 4 -a $cc_vers_minor -le 6; then @@ -220,11 +215,6 @@ if test "X-gcc" = "X-$cc_vendor"; then # Version-specific warnings # ############################# - # gcc 4.3 - if test $cc_vers_major -ge 5 -o $cc_vers_major -eq 4 -a $cc_vers_minor -ge 3; then - H5_CFLAGS="$H5_CFLAGS -Wlogical-op -Wlarger-than=2560" - fi - # gcc 4.4 if test $cc_vers_major -ge 5 -o $cc_vers_major -eq 4 -a $cc_vers_minor -ge 4; then H5_CFLAGS="$H5_CFLAGS -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat" |