-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This upgrades pugixml to the latest version, silencing compile time warnings seen when building using Xcode 14.
- Loading branch information
Showing
4 changed files
with
5,856 additions
and
2,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* pugixml parser - version 1.2 | ||
* pugixml parser - version 1.13 | ||
* -------------------------------------------------------- | ||
* Copyright (C) 2006-2012, by Arseny Kapoulkine ([email protected]) | ||
* Report bugs and download new versions at http://pugixml.org/ | ||
* Copyright (C) 2006-2022, by Arseny Kapoulkine ([email protected]) | ||
* Report bugs and download new versions at https://pugixml.org/ | ||
* | ||
* This library is distributed under the MIT License. See notice at the end | ||
* of this file. | ||
|
@@ -17,6 +17,9 @@ | |
// Uncomment this to enable wchar_t mode | ||
// #define PUGIXML_WCHAR_MODE | ||
|
||
// Uncomment this to enable compact mode | ||
// #define PUGIXML_COMPACT | ||
|
||
// Uncomment this to disable XPath | ||
#define PUGIXML_NO_XPATH | ||
|
||
|
@@ -32,19 +35,24 @@ | |
// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall | ||
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead | ||
|
||
// Tune these constants to adjust memory-related behavior | ||
// #define PUGIXML_MEMORY_PAGE_SIZE 32768 | ||
// #define PUGIXML_MEMORY_OUTPUT_STACK 10240 | ||
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096 | ||
|
||
// Tune this constant to adjust max nesting for XPath queries | ||
// #define PUGIXML_XPATH_DEPTH_LIMIT 1024 | ||
|
||
// Uncomment this to switch to header-only version | ||
// #define PUGIXML_HEADER_ONLY | ||
// #include "pugixml.cpp" | ||
|
||
// Tune these constants to adjust memory-related behavior | ||
#define PUGIXML_MEMORY_PAGE_SIZE 2048 | ||
#define PUGIXML_MEMORY_OUTPUT_STACK 640 | ||
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096 | ||
// Uncomment this to enable long long support | ||
// #define PUGIXML_HAS_LONG_LONG | ||
|
||
#endif | ||
|
||
/** | ||
* Copyright (c) 2006-2012 Arseny Kapoulkine | ||
* Copyright (c) 2006-2022 Arseny Kapoulkine | ||
* | ||
* Permission is hereby granted, free of charge, to any person | ||
* obtaining a copy of this software and associated documentation | ||
|
@@ -57,7 +65,7 @@ | |
* | ||
* The above copyright notice and this permission notice shall be | ||
* included in all copies or substantial portions of the Software. | ||
* | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
|
Oops, something went wrong.