[llvm-bugs] [Bug 7051] assert 'C++ binary operator overloading is missing candidates!'

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 18 17:03:42 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=7051

Hao Zhong <zhonghao at pku.org.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |zhonghao at pku.org.cn
         Resolution|FIXED                       |---

--- Comment #4 from Hao Zhong <zhonghao at pku.org.cn> ---
I compile the testcase with the latest clang++. It produces an error message:

error: assigning to '_Ios_Iostate' from incompatible type 'int'
          __err |=1;
                ^ ~
    1 error generated.

However, g++ does not produce any compilation errors. I also report the problem
to gcc:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85460

They may have a different opinion on this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180419/172eb630/attachment.html>


More information about the llvm-bugs mailing list