From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7256B3858C78; Sun, 5 Feb 2023 10:35:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7256B3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675593324; bh=N/xKVr7Q70kXghAA3CpBktkc3kRZOoYohb53zMEJOQ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U7cxzeQ90VAIbRqdgCWGmLa7GMFxTe1oDZFm91qNvFtDVsEgiBWFqHy7fpA50WVAp vgl2CWp5k/fk+4lnn84cQi5jHV7pYgbNYV2kD19yjmo7C1spe5uEVLgvXnfMnk5+yM +Xov0U27Zo3htBMU9EuC3ziahQQJXQZsGl3muJIY= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30077] Duplicate definition of typedef struct debuginfod_client in libdwfl Date: Sun, 05 Feb 2023 10:35:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30077 --- Comment #4 from Mark Wielaard --- (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 d= oes, provided that type is not a variably modified type --=20 You are receiving this mail because: You are on the CC list for the bug.=