Review: Approve I like this suggestion better too - it is how we deal with unreachable code everywhere else.
An even nicer solution would be if we had an UNREACHABLE macro that does behave exactly the same in every place. It could be implemented differently for each compiler, for example for clang there is http://clang.llvm.org/docs/LanguageExtensions.html#builtin-unreachable. -- https://code.launchpad.net/~widelands-dev/widelands/assert_removed/+merge/278269 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/assert_removed. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

