-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libfmt patch #8
Comments
What was the compilation error? That struct in libfmt is for extended precision support, which is optional and shouldn't cause an error even if not supported. |
Thanks! It's been a while so I don't remember the specifics, but here's a reproduction: https://github.com/azihassan/devilutionX/actions/runs/11171993466/job/31057721326 |
Looks like it's possible to disable double support in libfmt by setting a FMT_USE_DOUBLE macro to 0. I'll look into how to do it with cmake |
That helps thanks! After a lot of trial and error, I discovered that those flags aren't supported anymore. The proposed alternative didn't have a noticeable performance impact on Flycast, but it did require that I bump libfmt to last week's commit which might break compilation for the other platforms. I'll let github actions test that possibility Edit: yikes. Completely forgot about the linter |
Looks like |
Agreed, that's the proposed alternative I mentioned having tested on Flycast. Not on console yet though
Nice, I updated the fork to fetch those changes |
To get the game to compile, I had to patch the libfmt source code to add this line. A cleaner approach should be used for this.
The text was updated successfully, but these errors were encountered: