Ticket #54009: patch-Wvla.diff

File patch-Wvla.diff, 789 bytes (added by janstary (Jan Starý), 8 years ago)

disable the -Wvla option

  • configure

    old new rm -f core conftest.err conftest.$ac_obj 
    2082820828        common_flags="-Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wundef -Wuninitialized -Winit-self"
    2082920829
    2083020830        # -Winline -Wconversion "
    20831         CFLAGS="$CFLAGS     $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Wvla"
     20831        CFLAGS="$CFLAGS     $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return"
    2083220832        CXXFLAGS="$CXXFLAGS $common_flags -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo"
    2083320833
    2083420834        if test "x$enable_gcc_opt" = "xno" ; then