Open maflcko opened 3 years ago
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
111
o
Probably a compiler bug, so feel free to close.
The following code will print different output on different compilers:
gcc 9 (and earlier):
111
gcc 10 (and later):o
clang 9 (and earlier):111
gcc 10 (and later):o