#532 update v2.1.1 breaks compilation on Visual Studio 2010

Platform Specific
closed-fixed
None
5
2016-03-13
2016-03-12
tbeu
No

xmlparse.c of expat v.2.1.1 fails to compile on Visual Studio 2010 if XML_CONTEXT_BYTES is defined (whereas v2.1.0 worked)

see https://ci.appveyor.com/project/tbeu/externdata/build/2.0.0-dev+build.65/job/1hwo342fbxjnasn2#L485

reason: C99 style declaration is not supported by VS2010 (but VS2013 and newer)

see https://github.com/tbeu/ExternData/commit/09e0e93da00a53ba506677643a119ff8e0a7d6ea for a fix

Discussion

  • Sebastian Pipping

    • status: open --> closed-fixed
    • assigned_to: Sebastian Pipping
     
  • Sebastian Pipping

    Thanks for the patch! It's applied as 247cc3af30028a0ba9e5f5567aa917d38e226cf8 now. I hope you forgive that I made a tiny modification. Vielen Dank :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks