Skip to content

Defining functions as static causes ODR violations in C++ #23

@jwakely

Description

@jwakely

For C++ they should be just inline not static, otherwise you get (probably harmless) ODR violations when calling the debug_break function from function templates or inline functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions