Mixing declarations and statements is an error, so is any construct

depending on sizeof(void) (like void_ptr++)

Originally committed as revision 11798 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-01 18:45:26 +00:00
parent 5e038b4f08
commit aa819b9b7d
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -1785,6 +1785,8 @@ check_cflags -Wpointer-arith
check_cflags -Wredundant-decls
check_cflags -Wno-pointer-sign
check_cflags -Wcast-qual
check_cflags -Werror=declaration-after-statement
check_cflags -Werror=pointer-arith
enabled extra_warnings && check_cflags -Winline
# add some linker flags