[cairo] Troublesome C99 ?

Bryce Harrington bryce at osg.samsung.com
Mon Dec 11 04:22:58 UTC 2017


On Fri, Dec 08, 2017 at 09:28:47AM +0000, John Emmas wrote:
> On 08/12/2017 09:02, Antonio Ospite wrote:
> >
> >This was me, I assumed using C99 initializers was OK.
> >If it's not then the attached patch fixes this.
> >
> >Should I send it over to bugzilla?
> >
> >BTW when compilation fails it is generally a good idea to report the
> >exact message from the compiler.
> >
> 
> Hi Antonio.  I normally do report the errors but in this case it was
> simply:- "error C2059: syntax error : '[' ".
> 
> Your patch works fine BTW.  Many thanks,

Thanks, pushed:

To ssh://git.freedesktop.org/git/cairo
   f9cf6f9..19ee921  master -> master



commit 19ee9211879ad8c90ee7d467d8d9495dc9a0fa88
Author:     Antonio Ospite <ao2 at ao2.it>
AuthorDate: Fri Dec 8 09:44:27 2017 +0100
Commit:     Bryce Harrington <bryce at osg.samsung.com>
CommitDate: Sun Dec 10 20:13:19 2017 -0800

    svg: fix compilation with MSVC which doesn't support C99
    initializers

    Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
    Tested-by: John Emmas <john at creativepost.co.uk>


More information about the cairo mailing list