[cairo] internal cairo include syntax seems not flexible enough, backward-compatible fix proposal.

Behdad Esfahbod behdad at behdad.org
Sat Sep 20 12:41:31 PDT 2008


Fabien Costantini wrote:
> So my proposal is :
> ==============
> Replace all cairo internal includes syntax using "" instead of <> when the include file concerned is in the cairo include directory.
> 
> It would be much easier for unix/cygwin users, and could in many situations avoid the need of encapsulated dirty  pkg-config tool invocation as `pkg-config --CXXFLAGS`.
> 
> Note that this could also simplify systematic include configuration in visualc devenv tools.
> 
> Any thoughts ?

I made this change back in May.  Will be in 1.8.  But now I wonder if I should
not have done that.  Code having #include <cairo/cairo.h> is wrong as far as
cairo API is concerned.  On the other hand, I don't get in your way if you
want to shoot yourself in the foot.

Have fun with cairo!
behdad

> Thanks,
> Fabien Costantini.



More information about the cairo mailing list