Performance samples for LibreOffice ...
Stephan Bergmann
sbergman at redhat.com
Mon Sep 22 02:33:37 PDT 2014
On 09/20/2014 04:39 AM, Jan Hubicka wrote:
> /usr/include/X11/Xlib.h:948:3: warning: type ‘struct XAnyEvent’ violates one definition rule [-Wodr]
> } XAnyEvent;
> ^
> /usr/include/X11/Xlib.h:948:3: note: a different type is defined in another translation unit
> } XAnyEvent;
> ^
> /usr/include/X11/Xlib.h:947:9: note: the first difference of corresponding definitions is field ‘window’
> Window window; /* window on which event was requested in event mask */
> ^
> /usr/include/X11/Xlib.h:947:9: note: a field of same name but different type is defined in another translation unit
> Window window; /* window on which event was requested in event mask */
> ^
> /usr/include/X11/X.h:96:13: note: type ‘XLIB_Window’ should match type ‘Window’
> typedef XID Window;
> ^
> /usr/include/X11/X.h:96:13: note: the incompatible type is defined here
> typedef XID Window;
> ^
...so unwinding of typedefs (a la, "note: type 'XID' is defined here")
could be helpful in tracking this down.
Stephan
More information about the LibreOffice
mailing list