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

gcc 5.4.0 auto iterator with maps #114

Open
john30 opened this issue Oct 21, 2017 · 0 comments
Open

gcc 5.4.0 auto iterator with maps #114

john30 opened this issue Oct 21, 2017 · 0 comments
Assignees
Labels

Comments

@john30
Copy link
Owner

john30 commented Oct 21, 2017

this is an issue to keep track of the original one posted in ebusd-configuration.
There seems to be an issue with gcc version 5.4.0 that does not exist in 5.4.1 (at least on amd64);
When using an auto iterator on a std::map, a char* variable in the same scope gets reset to length 0 on first entry of the loop.
The issue john30/ebusd-configuration#69 was resolved with commit 77d2a80 by doing the iteration in the traditional way using map.begin/end.

@john30 john30 added the bug label Oct 21, 2017
@john30 john30 self-assigned this Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant