On 8 February 2018 at 10:58, Bert Wesarg wrote: > Dear all, > > I encounter a compile error when using GCC 8 20180204 with a simple > C++ program which worked before. Even with GCC 8 20170923. I would > like to understand, why this does not compile anymore, and how to fix > it. This is due to a change in G++'s overload resolution. I'm not sure if the change is correct or a bug. We discussed it in https://bugzilla.redhat.com/show_bug.cgi?id=1542254 and didn't reach a conclusion yet. I can easily make a change to the std::map code to make it work, so I'll do that if it turns out the G++ change is correct. Thanks for letting us know about this.