From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 548E83858434; Mon, 14 Aug 2023 16:32:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 548E83858434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692030765; bh=ptW/vxqYZaFL4s+Gc76dMRnSon0WqNZch0nG9fKbo/M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FP1xHGqS37N8Ng3KQu2W+VKtd1Yb1b1EuyUGHd5lTuyo6cGTiv05obTiMVcyf4O7w JuJGspxPGXosEeDpHNugfaL/KCrwTQBV5UImNMpSvjqIJhG+gRUSru4qeS3Ftdhz5Q UnCZsaQFMz1HbPQQK799EzbQ0XsYqhRkf0L44nqM= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Mon, 14 Aug 2023 16:32:44 +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: cvs-commit 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: 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 #16 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D6a93ab8af49b= e41a44af1b4651e9ab2ebc6d2f77 commit 6a93ab8af49be41a44af1b4651e9ab2ebc6d2f77 Author: Tom de Vries Date: Mon Aug 14 18:32:29 2023 +0200 [gdb/build] Fix enum param_types odr violation When building gdb with -O2 -flto, I run into: ... gdb/guile/scm-param.c:121:6: warning: type 'param_types' violates the C= ++ \ One Definition Rule [-Wodr] enum param_types ^ gdb/python/py-param.c:33:6: note: an enum with different value name is \ defined in another translation unit enum param_types ^ ... Fix this by renaming to enum scm_param_types and py_param_types. Tested on x86_64-linux. Approved-By: Tom Tromey PR build/22395 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D22395 --=20 You are receiving this mail because: You are on the CC list for the bug.=