From 219ea62d00e68de9267c266913d3205a1530b58a Mon Sep 17 00:00:00 2001 From: Johann Date: Fri, 21 Dec 2018 13:44:07 -0800 Subject: [PATCH] add -Wmissing-declarations This is useful for catching functions which should be static and instances where the relevant rtcd file was not included. BUG=webm:1584 Change-Id: Ied395847a664eedce59e8ed5180bd16d059ab0ac --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 6204f10b6..c8f1d35ed 100755 --- a/configure +++ b/configure @@ -620,6 +620,8 @@ process_toolchain() { check_cflags -Wundef && add_cflags_only -Wundef check_cflags -Wframe-larger-than=52000 && \ add_cflags_only -Wframe-larger-than=52000 + check_cflags -Wmissing-declarations && \ + add_cflags_only -Wmissing-declarations if enabled mips || [ -z "${INLINE}" ]; then enabled extra_warnings || check_add_cflags -Wno-unused-function fi -- 2.50.1