diff --git a/configure b/configure index fb79b497ce..bd4f872376 100755 --- a/configure +++ b/configure @@ -7467,7 +7467,6 @@ fi enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel" # add some useful compiler flags if supported -check_cflags -Wdeclaration-after-statement check_cflags -Wall check_cflags -Wdisabled-optimization check_cflags -Wpointer-arith @@ -7504,10 +7503,6 @@ check_disable_warning -Wno-bool-operation check_disable_warning -Wno-char-subscripts check_disable_warning -Wno-implicit-const-int-float-conversion -# Disable mixed decl and code warning for Objective-C -test_objcflags $unknown_warning_flags '-Wdeclaration-after-statement' && - add_objcflags '-Wno-declaration-after-statement' - check_disable_warning_headers(){ warning_flag=-W${1#-Wno-} test_cflags $warning_flag && add_cflags_headers $1 diff --git a/doc/developer.texi b/doc/developer.texi index 757e0f0ac1..108558b9e0 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -70,9 +70,6 @@ variable-length arrays; @item complex numbers; - -@item -mixed statements and declarations. @end itemize @subsection SIMD/DSP