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

     
  • Jonathan Wallace

    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

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks