Re: GCC 8 20180204 prodces unexpected ambiguous overload error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've reported it as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84283



On 8 February 2018 at 13:46, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> 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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux