Skip to content

Different output for earlier compilers #82

Open
@maflcko

Description

@maflcko

The following code will print different output on different compilers:

enum Number : uint8_t {
        FOO = 111, 
};

int main(){
    std::cout << tinyformat::format("%s", Number::FOO) << std::endl;
}

gcc 9 (and earlier): 111
gcc 10 (and later): o
clang 9 (and earlier): 111
gcc 10 (and later): o

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