[cairo] Cairo 1.4.6 release-candidate snapshot available
daveryeo at telus.net
Sat Apr 28 21:14:50 PDT 2007
On Sat, 28 Apr 2007 20:21:17 +0200, Peter Weilbacher wrote:
>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: *** [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
>@@ -34,6 +34,8 @@
> #include <stdlib.h>
> #include <math.h>
> #include <cairo.h>
> #include <string.h>
> #if HAVE_STDINT_H
>to work around the problem. But I still wonder why it hits OS/2 but nobody
Might be safer to do
And why it hits us, I can guess that it is a combination of GCC version
and CFLAGS. I used to see this kind of problem with one version of GCC
eg 2.95 but not another eg 3.03. Seems different versions of GCC
interpret those warning CFLAGS differently.
More information about the cairo