Open GoogleCodeExporter opened 8 years ago
The first one -Wunused-local-typedefs should have been fixed in
https://github.com/miloyip/rapidjson/commit/1eb62770d33ed00a4ba1d5048b616e4831ee
603a
For the second one -Wempty-body,
I cannot reproduce it in gcc 4.8.x, can you propose a fix method?
For example,
if (!level->inArray && level->valueCount % 2 == 0)
RAPIDJSON_ASSERT(type == kStringType); // if it's in object, then even number should be a name
change to
if (!level->inArray && level->valueCount % 2 == 0) {
RAPIDJSON_ASSERT(type == kStringType); // if it's in object, then even number
(void)type;
}
Will this work?
Besides, please note that the repository has been moved to
https://github.com/miloyip/rapidjson/
Original comment by milo...@gmail.com
on 2 Jul 2014 at 1:29
Original issue reported on code.google.com by
yuriv...@gmail.com
on 1 Jul 2014 at 9:28