+20yy-mm-dd v1.14.0 "V Duck"
+ This release drops support for old C compilers, such as Visual Studio 2012
+ and older, that disallow mixing variable declarations and statements (a C99
+ feature).
+
2023-09-29 v1.13.1 "Ugly Duckling"
This release contains two security related fixes. One each for VP8 and VP9.
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 -Wextra-semi
check_add_cflags -Wextra-semi-stmt
if enabled mips || [ -z "${INLINE}" ]; then
enabled extra_warnings || check_add_cflags -Wno-unused-function
fi
- # Enforce c89 for c files. Don't be too strict about it though. Allow
- # gnu extensions like "//" for comments.
- check_cflags -std=gnu89 && add_cflags_only -std=gnu89
+ # Enforce C99 for C files. Allow GNU extensions.
+ check_cflags -std=gnu99 && add_cflags_only -std=gnu99
# Avoid this warning for third_party C++ sources. Some reorganization
# would be needed to apply this only to test/*.cc.
check_cflags -Wshorten-64-to-32 && add_cflags_only -Wshorten-64-to-32