From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 183B13858C52; Thu, 10 Nov 2022 22:12:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 183B13858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668118355; bh=f55D01N36q6s4D1o75LdJNznzUiI6tElYmLPrXRSSXA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YEFluc9Sh+50z7qHVu58cdhPy7++m/Qrkj0X9mzaGkDNJG5hf8GNjXiTUi4mtvIly sXDngSmzSEPNyLiKM2GqVtdVzZW6OYfA78K1h8XorMeBCp1RZKfCYgf66HrnQiqXOH 6+YoqvFhf1r0t2TlVj+jbXylmtqnwlGKA1uMf7zc= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Thu, 10 Nov 2022 22:12:33 +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: tromey at sourceware 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=3D22395 --- Comment #13 from Tom Tromey --- I looked into this a bit, but fixing the YYSTYPE one is a real pain unless perhaps we are willing to require bison so that we can use a bison-specific feature. The usual remapping approach doesn't work because the generated .c file checks: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED union YYSTYPE { ... I guess maybe we could write out the union by hand but that seems pretty ugly. --=20 You are receiving this mail because: You are on the CC list for the bug.=