Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

Fix spdlog 1.9.1 compile #86

Closed 0x00002a closed 3 years ago

0x00002a commented 3 years ago

This fixes the issues I was encountering with spdlog > 1.9.0. Further documented in #85.

It does not fix the main issue of #85, as far as I know anyway.

This also bumps the spdlog version pulled in to be 1.9.2, which provides better support for fmt 8 such as compile-time checked format strings (which was why it didn't compile originally). A macro is used to allow compatibility with versions of fmt < 8, which I think is wanted?