Re: Troublesome C99 ?

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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 <[email protected]>
AuthorDate: Fri Dec 8 09:44:27 2017 +0100
Commit:     Bryce Harrington <[email protected]>
CommitDate: Sun Dec 10 20:13:19 2017 -0800

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

    Reviewed-by: Bryce Harrington <[email protected]>
    Tested-by: John Emmas <[email protected]>
-- 
cairo mailing list
[email protected]
https://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.