From a06fa77beffc04a6caa4bafc4d9881f699f6914c Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 21 Mar 2012 21:20:13 +0100 Subject: give error when function does not return something while it should (bzr r11110) --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml index 3a45ca93e..c7ce9514c 100755 --- a/build.xml +++ b/build.xml @@ -340,6 +340,7 @@ -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch + -Werror=return-type -O2 -mms-bitfields -fopenmp -- cgit v1.2.3