Open GoogleCodeExporter opened 8 years ago
Notice that the problem is that all GetInt() functions return cero ( 0) as
value when doing printf ( ) or when using PrettyWritter
Original comment by salt1...@gmail.com
on 14 Feb 2014 at 3:33
I would suspect this to be an endianness problem.
Rapidjson tries to detect the endianness of the target processor via the
'__BYTE_ORDER__' macro usually provided by GCC compilers and falls back to
little endian by default. Little endian would be wrong for m68k.
Does it help to compile with '-DRAPIDJSON_ENDIAN=RAPIDJSON_BIGENDIAN'?
Original comment by philipp....@gmail.com
on 16 Feb 2014 at 11:54
Original issue reported on code.google.com by
salt1...@gmail.com
on 14 Feb 2014 at 3:28