From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F6A33945C26; Thu, 29 Apr 2021 15:13:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F6A33945C26 From: "marcandre.lureau at gmail dot com" To: libabigail@sourceware.org Subject: [Bug default/27715] Fails to detect GObjectClass ABI changes Date: Thu, 29 Apr 2021 15:13:05 +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: normal X-Bugzilla-Who: marcandre.lureau at gmail dot com X-Bugzilla-Status: WAITING 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 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 15:13:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27715 --- Comment #11 from Marc-Andr=C3=A9 Lureau --- (In reply to Matthias Maennich from comment #9) > [..]=20 > So, as much as I would also like to sometimes inspect underlying types of > void*, flagging changes to those types is probably wrong. If you want this > type to be stable, you need to let it participate as a type in the interf= ace. This bug is about structures that are exposed in the public header. So they= may be taken as argument, or returned, by void* or parent* pointers, but it wou= ld be nice to annotate the actual type > One way of achieving this is to define a symbol just for the sake of ABI > analysis: >=20 > void (struct _GTypeModuleClass obj) { } >=20 > This will get picked up by libabigail and the type will participate in the > analysis then. Ok, but I am looking for a more friendly way to express that *all* my types= in my headers must be taken into account without having to define such extra symbols. Imho it should be an option to the tool somehow. --=20 You are receiving this mail because: You are on the CC list for the bug.=