| Summary: | Missing <X11/X.h> include in X11/extensions/render.h ? | ||
|---|---|---|---|
| Product: | xorg | Reporter: | Rémi Cardona <remi> |
| Component: | Lib/Xrender | Assignee: | Xorg Project Team <xorg-team> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Here's a simple test-case that mimics what xulrunner does. ============================= #include <X11/extensions/render.h> int main (int argc, char** argv) { return 0; } ============================= Here's the build result : $ gcc render.c -o render-test `pkg-config --libs --cflags xrender` In file included from render.c:1: /usr/include/X11/extensions/render.h:29: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Glyph’ /usr/include/X11/extensions/render.h:30: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GlyphSet’ /usr/include/X11/extensions/render.h:31: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Picture’ /usr/include/X11/extensions/render.h:32: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PictFormat’ Adding a #include <X11/X.h> fixes the build issue (for the test case and xulrunner), but I haven't tried building anything else (mainly the server). FTR, here's the Gentoo bug report : http://bugs.gentoo.org/238665 Thanks