When I, for example, try to complie clutter-gtkmm on ArchLinux, I get a rather confusing error message. If compiling with clang, it becomes clearer:
In file included from embed.cc:4:
In file included from ../clutter-gtkmm/embed.h:27:
In file included from /usr/include/gtkmm-3.0/gtkmm/container.h:30:
In file included from /usr/include/gtkmm-3.0/gtkmm/widget.h:41:
In file included from /usr/include/gdkmm-3.0/gdkmm/event.h:27:
/usr/include/gdkmm-3.0/gdkmm/types.h:198:6: error: unnamed enumeration must be a definition
/usr/include/X11/Xlib.h:87:16: note: expanded from:
#define Status int
So Xlib.h:87 defines the type Status and no one else can use it. I know this is C, so it has no namespaces, but it has typedefs (in Xlib.h:84 a typedef is used). I fixed it locally, maybe you can fix it upstream. It is not critical, but I don't think that you get much bugreports that are that easy to fix.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/15.