Skip to content

Add support for long and long long types #87

@jsallay

Description

@jsallay

This issue was discovered when compiling a web assembly version of the library. It turns out that long and long long are sometimes separate types from uint32_t and uint64_t (but not always). It depends on the system architecture width and the compiler.

We are going to need to add support for these types conditionally if they are different than the other types. For example, in gcc11 on a 64 bit system, a uint64_t is the same as a long, but long long is a separate type. From looking at headers, it appears that that on a 32 bit system, a long long would be a uint64_t and a long would be a separate type.

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