Re: Compilation errors with MSVC after recent changes to 'cairo-path-stroke-traps.c'

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Sat, Oct 04, 2014 at 06:26:51PM +0100, John Emmas wrote:
> Hi guys.  Since updating form git master just now I can no longer
> compile cairo-path-stroke-traps.c with Microsoft VC8.  I see around
> a dozen errors looking like this:-
> 
>     cairo-path-stroke-traps.c(302) : error C2440: 'initializing' :
> cannot convert from 'cairo_point_t' to 'cairo_fixed_t'
> 
> The stated line (302) seems to be newly added and looks like this:-
> 
>     cairo_point_t t[] = { in->point, *inpt, *outpt };

If you write it as

cairo_point_t t[] = { {in->point}, {*inpt}, {*outpt} };

is it then happy?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.