-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to improve errors in the unformattable case (#3478)
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
de4705f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @brevzin and fmt developer team.
I am working on a logging library in C++, I built my implementation upon Glaze C++ logging library, that uses the Format library. I had a working code, but I think, after refreshing my cmakelists file, which has glaze, and quill (quill has fmt) as fetchcontent, my quill and fmt related macros stopped working. I checked the repositories commit history, and seen some changes inside the fmt library that might affected something on my end. I am talking about the last 10 commits, or around that. I am saying this because I downloaded one of my older working commits from git, and was not able to run that either.
This is the line that gives the errors. For my own type to be loggable I followed quills and fmts instructions and made changes accordingly (glz => copyable object, fmt => specialized formatter):
This alone, was enough for me previously to log my own Trade_data objects without any problems, but right now I get a lot of errors.
The error messages seem to be related to quill, but the c++ quill library have not had a commit since 2 weeks, so that is why I assume it might be related to fmt, but I will ask quill as well.
Thank you for your time!
de4705f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works with the {fmt} master (https://godbolt.org/z/Troxqzz5b) so the issue is likely elsewhere. I am not familiar with quill unfortunately.