widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #04702
Re: [Merge] lp:~widelands-dev/widelands/assert_removed into lp:widelands
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.
References