[Bug c++/70462] Unnecessary "base object constructor" for final classes
falemagn at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 18 23:51:06 GMT 2020
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?
More information about the Gcc-bugs
mailing list