Victor Zverovich

Results 199 comments of Victor Zverovich

Thanks for the updated repro. I don't see the visibility warning though, only: ``` ld: warning: ignoring duplicate libraries: '/Users/viz/Downloads/test_spdlog 2/install/lib/libfmt.a' ```

Suppressed in https://github.com/fmtlib/fmt/commit/f68f452deaa15f222c7b2eee5f41c7a9bd249793. Thanks for reporting and putting together the repro.

The C++ standard mentions these formatters (https://eel.is/c++draft/time): ```c++ template struct formatter; template struct formatter; template struct formatter; ```

> why you had to define the formatters for duration, weekday etc. in fmt in the first place? I think the issue is to make fmt make use the std::formatter's....

Also `year_month_day` mentioned in #3772.

It is neither a bug nor you are doing anything wrong. {fmt} simply doesn't support formatting of `__float128` (yet).

You shouldn't be creating formatters for types you don't own and in this case it is intentionally impossible. You can create a formatter for a wrapper type though.

`__float128` support has been added in https://github.com/fmtlib/fmt/commit/5d63e87d235b86341f8d87f79ed8eb9825f34c44.

If you define a formatter for a third-party type you run into a risk of conflicts with someone doing the same. It is particularly bad for standard types since the...

To clarify: {fmt} doesn't use standard formatters but both the standard library and {fmt} can provide formatters for standard library and built-in types which will have similar effect.