[cairo] win32 build
otaylor at redhat.com
Thu Jun 9 07:41:53 PDT 2005
On Sat, 2005-06-04 at 22:45 +0300, Tor Lillqvist wrote:
> BTW, what might be the correct fix for these two problems in the Win32
> backend in CVS as of currently:
> cairo-win32-surface.c: In function `categorize_solid_dest_operator':
> cairo-win32-surface.c:678: warning: control reaches end of non-void function
Add a return DO_UNSUPPORTED to shut up GCC. (Won't be reached though)
> cairo-win32-surface.c: In function `_cairo_win32_surface_set_clip_region':
> cairo-win32-surface.c:755: error: too few arguments to function `_cairo_surface_set_clip_region'
Ugh.I *think* this will only be hit when the clip is actually changing,
so you should be able to just allocate a new clip serial.
unsigned int serial;
serial = _cairo_surface_allocate_clip_surface (surface->image);
Then use that. Make sense, Keith?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050609/b2452140/attachment.pgp
More information about the cairo