[FFmpeg-cvslog] configure: Add -Wno-format-zero-length to CFLAGS.

Diego Biurrun git at videolan.org
Sat Jun 25 04:33:11 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jun 24 21:16:10 2011 +0200| [b36518dcf457f5655c75c978bffed08dcd9535d6] | committer: Diego Biurrun

configure: Add -Wno-format-zero-length to CFLAGS.

The C standard specifies that zero-length format strings are allowed.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b36518dcf457f5655c75c978bffed08dcd9535d6
---

 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index f557482..e20bb06 100755
--- a/configure
+++ b/configure
@@ -2978,6 +2978,7 @@ check_cflags -Wdeclaration-after-statement
 check_cflags -Wall
 check_cflags -Wno-parentheses
 check_cflags -Wno-switch
+check_cflags -Wno-format-zero-length
 check_cflags -Wdisabled-optimization
 check_cflags -Wpointer-arith
 check_cflags -Wredundant-decls



More information about the ffmpeg-cvslog mailing list