-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Regression in fmt 10+ with gcc: error: 'current_zone' is not a member of 'std::chrono'
#4160
Comments
This looks like a bug in libstdc++: the feature test macro is defined to 201907 but they don't implement |
Worked around in 538d877. |
@vitaut Thank you! I can open an issue on GCC bugzilla, let’s see what upstream says. |
I have opened a ticket: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 |
This is because OP is using |
And that's because macports selects the old ABI for old macOS versions: |
Yes, you are right. If it did not, ports which use C++11 or higher cannot be linked to dependencies which are built against Apple |
@iains Iain, do we have some solution to this? |
Don't expect to use C++20 features on an OS from 2011 🤷 |
@jwakely With a very few exceptions even C++23 works fine on the OS from 2011 :) |
Example of the issue: complexlogic/rsgain#126
The same code builds fine against
libfmt
9, but fails with 10 and 11. Identical compiler is being used, gcc 14.2.0.Log:
The text was updated successfully, but these errors were encountered: