You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/clang++ -isystem spdlog/include -c test.cpp
spdlog/include/spdlog/fmt/bundled/core.h:1016:5: error: static_assert failed due to requirement 'formattable' "Cannot format argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#formatting-user-defined-types"
Clang also "works" if WORKING_INCLUDE_ORDER is defined.
We encountered this while trying to stream a osg::Vec3 using a operator<< which we define.
The text was updated successfully, but these errors were encountered:
Whether streaming works with spdlog seems to depend on include order and which compiler is used.
Consider this simulation:
Compiling with gcc works:
Compiling with clang fails:
Clang also "works" if
WORKING_INCLUDE_ORDER
is defined.We encountered this while trying to stream a
osg::Vec3
using aoperator<<
which we define.The text was updated successfully, but these errors were encountered: