Skip to content

ivosetyadi/rapidxml-msvc2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

RapidXML - MSVC 2022 Compatible Fork

This is a fork of RapidXML 1.13 with fixes for Microsoft Visual C++ 2022 (MSVC 14.44) compilation when using /permissive or /permissive- conformance modes.

What's Fixed

Original Problem

RapidXML 1.13 fails to compile with Visual Studio 2022 when using strict C++ conformance mode:

Error C2059: syntax error: '<parameter-list>'
Error C2238: unexpected token(s) preceding ';'

Solution

Changed function type typedefs to function pointer typedefs in 4 locations (lines 385-386, 552, 637-638).

See commit history for details.

Compatibility

Compiler Status
Visual Studio 2022 (MSVC 14.44) Fixed
Visual Studio 2019 with /permissive- Fixed
Visual Studio 2017 and older ✅ Compatible
GCC / Clang ✅ Compatible

Testing

  • ✅ Compiles with MSVC 2022 /permissive mode
  • ✅ No behavior changes (ABI compatible)
  • ✅ Tested in production (VC6 → VS2022 migration)

About RapidXML

RapidXML is an extremely fast XML parser written in C++.

  • Header-only, no dependencies
  • Original Author: Marcin Kalicinski
  • Version: 1.13 (2009)
  • License: MIT or Boost Software License

License

Same as original RapidXML: MIT or Boost Software License (your choice)

About

RapidXML 1.13 with MSVC 2022 /permissive mode compatibility fixes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages