Catch some more mistakes that result in crashes on SunCC.
Other compilers treat non-void return from void functions as error
by default.
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 554d578..08d631d 100755
--- a/configure
+++ b/configure
@@ -3685,6 +3685,7 @@ elif enabled gcc; then
check_cflags -Werror=missing-prototypes
check_cflags -Werror=declaration-after-statement
check_cflags -Werror=vla
+ check_cflags -Werror=return-type
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then
--
1.8.0.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel