public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/26992] New: type struct <name> was a declaration-only type and is now a defined type
@ 2020-12-01 15:06 woodard at redhat dot com
  2020-12-01 15:10 ` [Bug default/26992] " woodard at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2020-12-01 15:06 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=26992

            Bug ID: 26992
           Summary: type struct <name> was a declaration-only type and is
                    now a defined type
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

When abidw --abidiff /lib64/libcogl.so.20.4.3 I get a lot of changes.
from cogl-1.22.8-2.fc33.x86_64

The crux of the problem seems to be:

underlying type 'struct _CoglOnscreenTemplate' changed:
  type struct _CoglOnscreenTemplate was a declaration-only type and is now a
defined type

and

                                                              type changed
from:
 union {struct {int width; int height; int depth;} sized; struct {CoglBitmap*
bitmap; int height; int depth; CoglBool can_convert_in_place;} bitmap; struct
{EGLImageKHR image; int width; int height; CoglPixelFormat format;} egl_image;
struct {int width; int height; unsigned int gl_handle; CoglPixelFormat format;}
gl_foreign;}
                                                              to:
 union {struct {int width; int height; int depth;} sized; struct {CoglBitmap*
bitmap; int height; int depth; CoglBool can_convert_in_place;} bitmap; struct
{EGLImageKHR image; int width; int height; CoglPixelFormat format;} egl_image;
struct {int width; int height; unsigned int gl_handle; CoglPixelFormat format;}
gl_foreign;}
                        type changed from:
union {struct {CoglAttributeBuffer* attribute_buffer; size_t stride; size_t
offset; int n_components; CoglAttributeType type;} buffered; struct
{CoglContext* context; CoglBoxedValue boxed;} constant;}
                        to:
union {struct {CoglAttributeBuffer* attribute_buffer; size_t stride; size_t
offset; int n_components; CoglAttributeType type;} buffered; struct
{CoglContext* context; CoglBoxedValue boxed;} constant;}

So there are two distinct kinds of changes. One has to do with unions and the
other has to do with declaration only type changing to defined type.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-15 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 15:06 [Bug default/26992] New: type struct <name> was a declaration-only type and is now a defined type woodard at redhat dot com
2020-12-01 15:10 ` [Bug default/26992] " woodard at redhat dot com
2020-12-04 18:47 ` woodard at redhat dot com
2021-01-12 18:12 ` dodji at redhat dot com
2021-01-15 17:45 ` dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).