Re: Compilation errors with MSVC after recent changes to 'cairo-path-stroke-traps.c'
Mike Gran <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <443412499.375679.1412451570475.JavaMail.yahoo@jws100163.mail.ne1.yahoo.com> |
> I just gave that a quick try - but no, it didn't help. I think it's > the 'C'/C++ issue that I mentioned in my last post. It's the kind > of > thing which might be acceptable to some compilers but not others. MSVC > is notoriously strict about 'C' code :-( As an aside, the MSVC team has said that they never intend to push MSVC past C89, but, that they do fully intent to support, in their C++ compiler, the subset of C that exists in C++11 and C++14. They (or at least Herb Sutter) recommend that "C developers use the C++ compiler to compile C code (using /TP if the file is named something.c). This is the best choice for using Visual C++ to compile C code." http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/ But doing so in Cairo would like lead to a bunch of warnings and errors about casting. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo