[libbluray-devel] Use -Werror-implicit-function-declaration

hpi1 git at videolan.org
Fri Aug 17 10:31:22 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Aug 17 11:30:25 2012 +0300| [9775ae6c59d5ebca9cb4dd47312010b31f691ba8] | committer: hpi1

Use -Werror-implicit-function-declaration

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9775ae6c59d5ebca9cb4dd47312010b31f691ba8
---

 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index b22102e..9f04060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -198,6 +198,10 @@ check_cc_options -Wtype-limits && \
 check_cc_options -Wundef && \
   SET_WARNINGS="$SET_WARNINGS -Wundef"
 
+# no implicit function declarations
+check_cc_options -Werror-implicit-function-declaration && \
+  SET_WARNINGS="$SET_WARNINGS -Werror-implicit-function-declaration"
+
 # use -Werror
 if [[ $use_werror = "yes" ]]; then
   check_cc_options -Werror && \



More information about the libbluray-devel mailing list