Summary: | headers installed by cairo are busted | ||
---|---|---|---|
Product: | cairo | Reporter: | Jory A. Pratt <anarchy> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED NOTABUG | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | ||
Version: | 1.3.9 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | cairo-1.3.8-headers.patch |
Description
Jory A. Pratt
2006-12-16 18:57:25 UTC
Created attachment 8142 [details]
cairo-1.3.8-headers.patch
It's not a bug. You should be adding the right -I to your CFLAGS (by way of using `pkg-config --cflags cairo` for example) and #include <cairo.h>. I'm not sure if we want to support #include <cairo/cairo.h>. In that case we should switch to #include "cairo.h" syntax in the public header files. I'm fine either way. Carl? This debate occassionally rages on (e.g. http://www.nabble.com/internal-cairo-include-syntax-seems-not-flexible-enough,-backward-compatible-fix-proposal.-td19583394.html), in short #include <cairo/cairo.h> is more likely to lead to subtle bugs. |
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.