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.
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 ';'
Changed function type typedefs to function pointer typedefs in 4 locations (lines 385-386, 552, 637-638).
See commit history for details.
| Compiler | Status |
|---|---|
| Visual Studio 2022 (MSVC 14.44) | ✅ Fixed |
Visual Studio 2019 with /permissive- |
✅ Fixed |
| Visual Studio 2017 and older | ✅ Compatible |
| GCC / Clang | ✅ Compatible |
- ✅ Compiles with MSVC 2022
/permissivemode - ✅ No behavior changes (ABI compatible)
- ✅ Tested in production (VC6 → VS2022 migration)
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
Same as original RapidXML: MIT or Boost Software License (your choice)