Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils: add UNREACHABLE() macro #700

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Jul 24, 2023

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Instead of directly using GCC builtin __builtin_unreachable() define and use
UNREACHABLE() macro.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio merged commit cca89fa into atomvm:master Jul 25, 2023
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants