I was using libjson in Borland/Codegear/Embarcadero C++ Builder 2010 and in order to compile I had to add std:: in front of atof, wcstombs, snprintf, swprintf, malloc, free and realloc functions in the source files JSONPreparse.cpp, internalJSONNode.cpp, NumberToString.h and JSONMemory.h.
Unless this modification breaks something on GCC or VC I'd like to propose adding std:: for these functions.
I will add the explicit std namespace to all of those methods. I've made the changes and running the test suite now. A new version should be available shortly.
thanks and keep up the good work.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.