Commit 334bb90c authored by Ting-Wei Lan's avatar Ting-Wei Lan

compiler-warnings: Add -Werror=return-type

Function return type mismatch should be considered broken, as it can cause
unexpected result or compilation error.
parent 1f60e953
# gnome-compiler-flags.m4
# serial 2
# serial 3
......@@ -49,6 +49,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
-Werror=format-security \
-Werror=format=2 \
-Werror=missing-include-dirs \
-Werror=return-type \
dnl Additional warning or error flags provided by the module author to
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment