Closed zoenie123 closed 8 years ago
try creating a pointer to xml_document, the problem will be fixed.
@CarlosRodriguezRamirez Great! Thanks for your suggestion. Now it's fixed:
rapidxml::xml_document<> *xml_doc = new rapidxml::xml_document<>();
...
delete xml_doc;
@zoenie123 Please check out the latest version. Thanks also!
Maybe it's a good idea to look at the warning below of an analysis of Microsoft Visual Studio 2013.
c:\development\gatewaylight\xml2json.hpp(162): warning C6262: Function uses '65760' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap.