Hi!
I use a gcc cross-compiler for powerpc (powerpc-e300c3-linux-gnu-g++), and I get an error trying to compile programs that use JsonCpp.
Somehow, I'm not sure why, the "str_" parameter is mistaken for a string constant, so I get this error:
json/value.h:66(12): error: expected identifier before string constant
json/value.h:66(12): error: expected '{' before string constant
After cursing a bit, I tried changing "str_" to something else, in this case "sdtr_", and then everything worked fine. So I suggest that you do the same, since I see no reason that the variable has to be called "str_". In fact, it's not a very good name.
Cheers!
In case this is still an issue, it's fixed at: https://github.com/open-source-parsers/jsoncpp/