On Sat, 19 Oct 2024, Martin Uecker wrote:

> Hi Quin and Joseph,
> 
> I saw that there is now new code in tu_tagged_types_compatible
> which makes structure type incompatible depending on whether
> there is ac counted_by attribute.  Is this what we want?  I think a
> warning might make more sense as this types are fundamentally
> still compatible.

If the types were compatible you'd need a composite type.  If the 
composite type has the flexible array counted by both the integer elements 
named with counted_by attributes (one in one of the types and one in the 
other), that really doesn't make sense to me.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to