Skip to content

Header parser sees using std::int32_t as redefinition #51

@Chlumsky

Description

@Chlumsky

With the following declarations

#include <cstdint>
#include <vector>

using std::int8_t;
using std::int16_t;
using std::int32_t;

the header parser fails and reports this error:

Error: Failed to parse input file 'source/structures.h', aborting
       TYPE_REDEFINITION at position 98 (line 8)
       ...e <vector>    using std::int8_t;  using std::int16_t;  using std...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    High Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions