[Bug c++/93699] [gcc10] Invalid operator== (returning non-bool type) candidate

laurent.stacul at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 11 10:30:38 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699

--- Comment #1 from Laurent Stacul <laurent.stacul at gmail dot com> ---
Please note that reversing b and d works fine:

    if (*b == *d) { // This does not work
    if (*d == *b) { // This is ok

Regards,
Stac


More information about the Gcc-bugs mailing list