From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A53A53858C30; Fri, 13 Oct 2023 15:27:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A53A53858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1697210860; bh=dI9UEn9m0Nd1ib2t89KY5jYwR9QKm6rjyCYNoDYejZg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dy9CPB3WMni8B1Ir4BKZutwh8xpwrAPw4jmBM+zRjWc3ovLiIHElnFjG0B6Pjjtat OO90i2+Z8tDGlnIp+4xNNwFEuAIf/6q1DXpKKtA+g6pOFrRJqzXERiyyZmZ+9ocqlb /uWcUQpRV2ABPA4k8Emb/WuqsKsR46xnzspdgjBU= From: "dodji at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/30931] Support check-uapi.sh Date: Fri, 13 Oct 2023 15:27:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dodji at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com 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=3D30931 --- Comment #4 from dodji at redhat dot com --- So, on the branch "users/dodji/check-uapi-support", the issue we were having with anonymous enums is present also for anonymous unions & structs. In short, here is what we have: For example: union { int a; int b; }; ------ union { int a; int b; int c; }; Yields: 1 removed type unreachable from any public interface: [D] 'union {int a; int b;}' at test_1.c:1:1 1 added type unreachable from any public interface: [A] 'union {int a; int b; int c;}' at test_2.c:1:1 This has been reported off-list by John Moon. To handle this issue I created the branch https://sourceware.org/git/?p=3Dlibabigail.git;a=3Dshortlog;h=3Drefs/heads/= users/dodji/better-anon-class with the patch https://sourceware.org/git/?p=3Dlibabigail.git;a=3Dcommit;h=3D2776e2590e269= f2b304b49f8626d52b77ca5ae54. When John agrees, I'll merge that patch into the "users/dodji/check-uapi-support" branch. --=20 You are receiving this mail because: You are on the CC list for the bug.=