Skip to content

__unreacahble() assumes MSVC on Windows #36

@GrimMaple

Description

@GrimMaple

It seems that the code below:

#define __unreachable() __assume(0)

assumes that, if on windows, we're building with MSVC. That isn't always the case, as the build of libosdp fails with __assume() begin undefined when I build with MSYS2 UCRT64 (clang)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions