← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/ai_return_added into lp:widelands

 

Here's the answer:

http://stackoverflow.com/questions/1610030/why-can-you-return-from-a-non-void-function-without-returning-a-value-without-pr

-Werror=return-type will treat just that warning as an error.

Full manual:

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
-- 
https://code.launchpad.net/~widelands-dev/widelands/ai_return_added/+merge/275638
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/ai_return_added.


References