[cairo] Cairomm 1.6.x ---> 1.8.x ABI breakage

Jonathon Jongsma jonathon at quotidian.org
Sun Jun 7 16:45:19 PDT 2009


On Sun, Jun 7, 2009 at 11:14 AM, JānisRukšāns<thedogfarted at gmail.com> wrote:
> Rick L. Vinyard, Jr. <rvinyard <at> cs.nmsu.edu> writes:
>
>> Rebuilding papyrus against cairomm 1.8 resolves the symbol, so I don't
>> think it's an API issue.... looks like an ABI issue.
>
> There is also an API breakage for any code that uses initializer lists to
> initialize Cairo::Matrix, for example this code (taken from BMPx) no longer
> compiles against 1.8.0 (and the second line will cause crash at runtime if
> compiled against 1.6.x):
>
> Cairo::Matrix matrix = { 1, 0, 0, -1, 0, h };
> cr->set_matrix (matrix);
>
> Filed a bug https://bugs.freedesktop.org/show_bug.cgi?id=22137
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>

Yes, I clearly screwed something up badly.  Further discussion should
probably happen on the bug.

-- 
jonner


More information about the cairo mailing list