@@ -5553,15 +5553,15 @@ fi
55535553
55545554
55555555
5556- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wimplicit-fallthrough=4 , for CFLAGS" >&5
5557- $as_echo_n "checking whether ${CC} supports -Wimplicit-fallthrough=4 , for CFLAGS... " >&6; }
5558- if ${pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 +:} false; then :
5556+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wimplicit-fallthrough=3 , for CFLAGS" >&5
5557+ $as_echo_n "checking whether ${CC} supports -Wimplicit-fallthrough=3 , for CFLAGS... " >&6; }
5558+ if ${pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 +:} false; then :
55595559 $as_echo_n "(cached) " >&6
55605560else
55615561 pgac_save_CFLAGS=$CFLAGS
55625562pgac_save_CC=$CC
55635563CC=${CC}
5564- CFLAGS="${CFLAGS} -Wimplicit-fallthrough=4 "
5564+ CFLAGS="${CFLAGS} -Wimplicit-fallthrough=3 "
55655565ac_save_c_werror_flag=$ac_c_werror_flag
55665566ac_c_werror_flag=yes
55675567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5576,31 +5576,31 @@ main ()
55765576}
55775577_ACEOF
55785578if ac_fn_c_try_compile "$LINENO"; then :
5579- pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 =yes
5579+ pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 =yes
55805580else
5581- pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 =no
5581+ pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 =no
55825582fi
55835583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55845584ac_c_werror_flag=$ac_save_c_werror_flag
55855585CFLAGS="$pgac_save_CFLAGS"
55865586CC="$pgac_save_CC"
55875587fi
5588- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 " >&5
5589- $as_echo "$pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 " >&6; }
5590- if test x"$pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_4 " = x"yes"; then
5591- CFLAGS="${CFLAGS} -Wimplicit-fallthrough=4 "
5588+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 " >&5
5589+ $as_echo "$pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 " >&6; }
5590+ if test x"$pgac_cv_prog_CC_cflags__Wimplicit_fallthrough_3 " = x"yes"; then
5591+ CFLAGS="${CFLAGS} -Wimplicit-fallthrough=3 "
55925592fi
55935593
55945594
5595- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wimplicit-fallthrough=4 , for CXXFLAGS" >&5
5596- $as_echo_n "checking whether ${CXX} supports -Wimplicit-fallthrough=4 , for CXXFLAGS... " >&6; }
5597- if ${pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 +:} false; then :
5595+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wimplicit-fallthrough=3 , for CXXFLAGS" >&5
5596+ $as_echo_n "checking whether ${CXX} supports -Wimplicit-fallthrough=3 , for CXXFLAGS... " >&6; }
5597+ if ${pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 +:} false; then :
55985598 $as_echo_n "(cached) " >&6
55995599else
56005600 pgac_save_CXXFLAGS=$CXXFLAGS
56015601pgac_save_CXX=$CXX
56025602CXX=${CXX}
5603- CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=4 "
5603+ CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=3 "
56045604ac_save_cxx_werror_flag=$ac_cxx_werror_flag
56055605ac_cxx_werror_flag=yes
56065606ac_ext=cpp
@@ -5621,9 +5621,9 @@ main ()
56215621}
56225622_ACEOF
56235623if ac_fn_cxx_try_compile "$LINENO"; then :
5624- pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 =yes
5624+ pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 =yes
56255625else
5626- pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 =no
5626+ pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 =no
56275627fi
56285628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56295629ac_ext=c
@@ -5636,10 +5636,10 @@ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
56365636CXXFLAGS="$pgac_save_CXXFLAGS"
56375637CXX="$pgac_save_CXX"
56385638fi
5639- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 " >&5
5640- $as_echo "$pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 " >&6; }
5641- if test x"$pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_4 " = x"yes"; then
5642- CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=4 "
5639+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 " >&5
5640+ $as_echo "$pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 " >&6; }
5641+ if test x"$pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3 " = x"yes"; then
5642+ CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=3 "
56435643fi
56445644
56455645
0 commit comments