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

--- Comment #7 from Fabio Alemagna <falemagn at gmail dot com> ---
(In reply to Pádraig Brady from comment #6)
> This does introduce an ABI incompatibility.
> 
> I'm seeing this with kuduraft-1.8 compiled with GCC 10, giving linker errors
> from clang 9.0.20190721 like:
> 
>   error: undefined symbol: kudu::consensus::OpId::OpId()
> 
> Reverting this patch fixes the issue here.

I second that. A library built with gcc10 is not linking with a program built
with clang.

Why would clang not call the complete class constructor, though?

Reply via email to