[Bug libstdc++/92798] -fshort-enums can break iterators of std::map
fc9vqetne38 at temp dot mailbox.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 4 16:52:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92798
--- Comment #2 from Christian N <fc9vqetne38 at temp dot mailbox.org> ---
To be honest, I'm not sure when and why it came to be. The build instructions
are partially from an old project and weren't cleaned properly. The immediate
code base actually only uses scoped enums. The problem just came up and upon
investigating, removing the flag fixed it.
It didn't occur to me that basically everything needs recompilation with
-fshort-enums, but it makes perfect sense.
I suppose this report can be closed as invalid then!?
Thanks!
More information about the Gcc-bugs
mailing list