From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5645D3858C31; Mon, 14 Aug 2023 09:30:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5645D3858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692005454; bh=ccoUGaM7k6Rj0nvpAwtqhWaLhGRmF3FlzajK1WoLG58=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r9QSBYL+SYpccP25qiKvoJBc1ck/BAgM5Hx4xRbUpBXdxnB0rtesoEdoODPfmNT88 PHt8FrPkLWheLvFv9eWsB9Rtb042yAmADtN5opT/VpUCijwG7h9ldPAUu4cP7Dsdu+ yMpLSCwvdg0DMZLR/LOA92y1c3qM9fG6yZkIKTys= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Mon, 14 Aug 2023 09:30:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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: cc 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=3D22395 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #14 from Tom de Vries --- (In reply to Hi-Angel from comment #0) > nat/linux-btrace.h:85:8: warning: type =E2=80=98struct btrace_target_inf= o=E2=80=99 violates > the C++ One Definition Rule [-Wodr] > struct btrace_target_info > ^ > remote.c:13157:8: note: a different type is defined in another translati= on > unit > struct btrace_target_info > ^ > nat/linux-btrace.h:102:5: note: the first difference of corresponding > definitions is field =E2=80=98variant=E2=80=99 > } variant; > ^ > remote.c:13157:8: note: a type with different number of fields is defined > in another translation unit > struct btrace_target_info > ^ I've filed this particular one as PR30751, and cc-ed the btrace maintainer. --=20 You are receiving this mail because: You are on the CC list for the bug.=