Commit 1c4a878f authored by James Zern's avatar James Zern

configure,cmake: remove -Wdeclaration-after-statement

this was superseded by the addition of -std=c99

BUG=aomedia:111

Change-Id: Ib89125b6f2e259b52ae35af26e882f9b02ef2c27
parent 78c611ab
......@@ -40,7 +40,6 @@ else ()
message(FATAL_ERROR "C99 support by the compiler is required!")
endif ()
add_compiler_flag_if_supported("-Wall")
add_compiler_flag_if_supported("-Wdeclaration-after-statement")
add_compiler_flag_if_supported("-Wdisabled-optimization")
add_compiler_flag_if_supported("-Wextra")
add_compiler_flag_if_supported("-Wfloat-conversion")
......
......@@ -644,7 +644,6 @@ process_toolchain() {
if enabled gcc; then
enabled werror && check_add_cflags -Werror
check_add_cflags -Wall
check_add_cflags -Wdeclaration-after-statement
check_add_cflags -Wdisabled-optimization
check_add_cflags -Wfloat-conversion
check_add_cflags -Wpointer-arith
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment