diff options
author | Nate Ohlson <nohlson@purdue.edu> | 2024-09-18 03:55:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 03:55:09 (GMT) |
commit | 29a1a6e3ed6f606939b4aaf8d6955f368c3be3fc (patch) | |
tree | 0dc2ef04790332e8c4d13eb21c7de5573e3f5c69 /configure | |
parent | d8c0fe1944ac41787e16fa60e608f56c8235e100 (diff) | |
download | cpython-29a1a6e3ed6f606939b4aaf8d6955f368c3be3fc.zip cpython-29a1a6e3ed6f606939b4aaf8d6955f368c3be3fc.tar.gz cpython-29a1a6e3ed6f606939b4aaf8d6955f368c3be3fc.tar.bz2 |
gh-124191: Disable -Wconversion in enable safety (gh-124192)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 39 |
1 files changed, 0 insertions, 39 deletions
@@ -9773,45 +9773,6 @@ else $as_nop printf "%s\n" "$as_me: WARNING: -Wtrampolines not supported" >&2;} fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wconversion" >&5 -printf %s "checking whether C compiler accepts -Wconversion... " >&6; } -if test ${ax_cv_check_cflags__Werror__Wconversion+y} -then : - printf %s "(cached) " >&6 -else $as_nop - - ax_check_save_flags=$CFLAGS - CFLAGS="$CFLAGS -Werror -Wconversion" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ax_cv_check_cflags__Werror__Wconversion=yes -else $as_nop - ax_cv_check_cflags__Werror__Wconversion=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CFLAGS=$ax_check_save_flags -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wconversion" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wconversion" >&6; } -if test "x$ax_cv_check_cflags__Werror__Wconversion" = xyes -then : - CFLAGS_NODIST="$CFLAGS_NODIST -Wconversion" -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: -Wconversion not supported" >&5 -printf "%s\n" "$as_me: WARNING: -Wconversion not supported" >&2;} -fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wimplicit-fallthrough" >&5 printf %s "checking whether C compiler accepts -Wimplicit-fallthrough... " >&6; } if test ${ax_cv_check_cflags__Werror__Wimplicit_fallthrough+y} |