Skip to content
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

error: 'const struct tm' has no member named 'tm_gmtoff' #2670

Closed
HazardyKnusperkeks opened this issue Dec 23, 2021 · 2 comments
Closed

error: 'const struct tm' has no member named 'tm_gmtoff' #2670

HazardyKnusperkeks opened this issue Dec 23, 2021 · 2 comments

Comments

@HazardyKnusperkeks
Copy link
Contributor

HazardyKnusperkeks commented Dec 23, 2021

This is in chrono.h line 1080. And on line 1102 tm_zone is also not available.
I'm on Windows using msys2 MinGW.
I found something similar: http://hg.savannah.gnu.org/hgweb/octave/rev/1126c2907878

phprus added a commit to phprus/fmt that referenced this issue Dec 23, 2021
@phprus
Copy link
Contributor

phprus commented Dec 23, 2021

Possible fix: #2671
Test it please.

vitaut pushed a commit that referenced this issue Dec 23, 2021
@vitaut vitaut closed this as completed Dec 23, 2021
@HazardyKnusperkeks
Copy link
Contributor Author

That fixes it, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants