Looking at http://cgit.freedesktop.org/xorg/lib/libX11/tree/include/X11/Xlib.h?id=d0cbf388919364fe6b5b9127f36426eb744090a0 on line 87 we have "#define Status int". As my application depends on MESA, this define has propagated to my app, creating an obscure (until now) bug.
-- 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/18.