[LLVMdev] Switching to the new MingW ABI

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 10 15:01:20 PST 2013


> Yes, all except this one (I think):
>
> error: 'error' diagnostics expected but not seen:
>   File D:\src\llvm\tools\clang\test\SemaCXX\virtual-override.cpp Line
> 288: 'static' member function 'foo' overrides a virtual function
> error: 'error' diagnostics seen but not expected:
>   File D:\src\llvm\tools\clang\test\SemaCXX\virtual-override.cpp Line
> 288: virtual function 'foo' has different calling convention
> attributes ('void ()') than the function it overrides (which has
> calling convention 'void () __attribute__((thiscall))')
> 2 errors generated.
>
> I guess this is also a QOI problem, but the diagnostic here gets
> pretty misleading.

Yes, I guess this a case of the error being pedantically correct. We
should suppress the second error.

Cheers,
Rafael



More information about the llvm-dev mailing list