Skip to content

Defining FMT_BUILTIN_TYPES=0 causes wrong prints #4375

Description

@grisharav

The following code breaks when defining DFMT_BUILTIN_TYPES=0:

    int32_t x = 56;
    fmt::println("This is x={}", x);

Works fine without the define, but when defined outputs:

This is x=1073479024

I'm working on an embedded system and would like to reduce the size of the generated binary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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