[Bug libdw/30077] Duplicate definition of typedef struct debuginfod_client in libdwfl
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Sun Feb 5 10:35:23 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30077
--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Sam James from comment #2)
> These issues sometimes appear with -flto -Wlto-type-mismatch but not clear
> that's the case here.
Yes, but typedefs don't define new types, just alias types.
Also it looks like this is actually allowed (at least in C11, maybe some
compilers didn't accept it before?):
- a typedef name may be redefined to denote the same type as it currently does,
provided that type is not a variably modified type
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list