#42 JSON_MEMORY_MANAGE does not compile

closed-fixed
nobody
None
5
2012-06-25
2012-05-30
Anonymous
No

Defining JSON_MEMORY_MANAGE generates this error:

Source/libjson.cpp|409| error: invalid conversion from ‘void*’ to ‘char*’
To me, looks like you just need to cast to json_char* at the point of return.

btw, perhaps we should switch to static_cast<> casting rather than (c) casting. Its easier to see on the screen when its being used, and easier to grep for.

Discussion

  • Jonathan Wallace

    This has already been fixed in the version about to be released, thank you.

     
  • Jonathan Wallace

    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks