mirror of https://github.com/cutefishos/calamares
CMake: drop the NOTREACHED macro
- both clang and g++ support __builtin_unreachable(); (as Kevin Kofler pointed out) so we don't need the macro to do different things; - the compilers have gotten better at detecting unreachable code, so instead of inserting macros or fiddly bits, just drop them and the unreachable code they comment.main
parent
9a2fca7f5b
commit
2b9fa0f982
Loading…
Reference in New Issue