[cairo] Cairo 1.4.6 release-candidate snapshot available
Peter Weilbacher
mozilla at weilbacher.org
Sat Apr 28 11:21:17 PDT 2007
Dave Yeo wrote:
> In file included from ../src/cairo-scaled-font-private.h:44,
> from cairo-boilerplate.c:65:
> ../src/cairo-mutex-private.h:183: error: syntax error before "extern"
> ../src/cairo-mutex-private.h:184: error: syntax error before "void"
> ../src/cairo-mutex-private.h:185: error: syntax error before "void"
> make[3]: *** [cairo-boilerplate.lo] Error 1
>
> So doesn't like the cairo_private here.
> Also had this error a couple of days ago with a git pull.
I first tried to include cairoint.h but that gave errors about duplicate
definitions. Then I just did
--- boilerplate/cairo-boilerplate.h
+++ boilerplate/cairo-boilerplate.h
@@ -34,6 +34,8 @@
#include <stdlib.h>
#include <math.h>
#include <cairo.h>
#include <string.h>
+#define cairo_private
+
#if HAVE_STDINT_H
to work around the problem. But I still wonder why it hits OS/2 but nobody
else...
Peter.
More information about the cairo
mailing list