[libav-bugs] [Bug 844] libav does not build with clang 3.5 and warnings-as-errors (-Werror)

bugzilla at libav.org bugzilla at libav.org
Thu May 7 03:11:24 CEST 2015


lu_zero at gentoo.org <lu_zero at gentoo.org> changed:

           What    |Removed                     |Added
                 CC|                            |lu_zero at gentoo.org

--- Comment #4 from lu_zero at gentoo.org <lu_zero at gentoo.org> ---
With clang-3.6.0 it seems to work just fine. 

make V=1 libavutil/mem.o ECFLAGS=-Werror
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual
-Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes
-Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3
-fno-math-errno -fno-signed-zeros -Qunused-arguments
-Werror=implicit-function-declaration -Werror=missing-prototypes
-Werror=return-type -Werror -MMD -MF libavutil/mem.d -MT libavutil/mem.o -c -o
libavutil/mem.o libavutil/mem.c

I wouldn't add a workaround for a single version of clang.

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150507/08f010b4/attachment.html>

More information about the libav-bugs mailing list