alandefreitas / clang-unformat

A simple tool to infer a .clang-format file from existing code
Boost Software License 1.0
58 stars 13 forks source link

Add libfmt-9 compatibility #8

Closed repojohnray closed 1 year ago

alandefreitas commented 1 year ago

How does an unused formatter help the application?

repojohnray commented 1 year ago

This is required for libfmt-9, for instance: https://github.com/gentoo/gentoo/blob/master/net-wireless/gnuradio/files/gnuradio-3.10.3.0-fix-fmt-v9.patch

alandefreitas commented 1 year ago

Yes. I know fmt needs a formatter if you want to format custom types. But this application doesn't format these types into format strings. What changed?

repojohnray commented 1 year ago

This is a quick fix for compiling with libfmt-9. A better solution could exist.