Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Use in C++ Builder

Chrigu
2011-08-29
2013-06-12
  • Chrigu
    Chrigu
    2011-08-29

    Hi all
    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.

    Best regards

    Christian

     
  • 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.

     
  • Chrigu
    Chrigu
    2011-08-30

    Great,
    thanks and keep up the good work.

    Christian