Closed GoogleCodeExporter closed 8 years ago
Is there any incompatibility with CentOS? Because on Unbutu works but not on
CentOS.
Any example of rapidjson the same error occurs ...
Original comment by joaomarc...@gmail.com
on 6 Aug 2013 at 12:44
Here goes all the trace compilation:
**** Build of configuration Debug for project testejson ****
make all
Building file: ../src/testejson.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/testejson.d"
-MT"src/testejson.d" -o"src/testejson.o" "../src/testejson.cpp"
../src/rapidjson/reader.h: In member function ‘void
rapidjson::GenericReader<Encoding, Allocator>::ParseString(Stream&, Handler&)
[with unsigned int parseFlags = 0u, Stream =
rapidjson::GenericStringStream<rapidjson::UTF8<char> >, Handler =
rapidjson::GenericDocument<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >, Encoding =
rapidjson::UTF8<char>, Allocator =
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>]’:
../src/rapidjson/reader.h:281: instantiated from ‘void
rapidjson::GenericReader<Encoding, Allocator>::ParseObject(Stream&, Handler&)
[with unsigned int parseFlags = 0u, Stream =
rapidjson::GenericStringStream<rapidjson::UTF8<char> >, Handler =
rapidjson::GenericDocument<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >, Encoding =
rapidjson::UTF8<char>, Allocator =
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>]’
../src/rapidjson/reader.h:243: instantiated from ‘bool
rapidjson::GenericReader<Encoding, Allocator>::Parse(Stream&, Handler&) [with
unsigned int parseFlags = 0u, Stream =
rapidjson::GenericStringStream<rapidjson::UTF8<char> >, Handler =
rapidjson::GenericDocument<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >, Encoding =
rapidjson::UTF8<char>, Allocator =
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>]’
../src/rapidjson/document.h:712: instantiated from
‘rapidjson::GenericDocument<Encoding, Allocator>&
rapidjson::GenericDocument<Encoding, Allocator>::ParseStream(Stream&) [with
unsigned int parseFlags = 0u, Stream =
rapidjson::GenericStringStream<rapidjson::UTF8<char> >, Encoding =
rapidjson::UTF8<char>, Allocator =
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>]’
../src/rapidjson/document.h:745: instantiated from
‘rapidjson::GenericDocument<Encoding, Allocator>&
rapidjson::GenericDocument<Encoding, Allocator>::Parse(const typename
Encoding::Ch*) [with unsigned int parseFlags = 0u, Encoding =
rapidjson::UTF8<char>, Allocator =
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>]’
../src/testejson.cpp:32: instantiated from here
../src/rapidjson/reader.h:422: warning: comparison is always true due to
limited range of data type
Finished building: ../src/testejson.cpp
Building target: testejson
Invoking: GCC C++ Linker
g++ -o"testejson" ./src/testejson.o
Finished building t
Original comment by joaomarc...@gmail.com
on 6 Aug 2013 at 12:49
I cannot see the error. Is it just warning?
Besides, compilation errors are mainly due to compiler, it probably not related
to Linux distributions.
You may check the version of gcc.
Original comment by milo...@gmail.com
on 7 Aug 2013 at 10:54
Original comment by milo...@gmail.com
on 30 Jun 2014 at 1:50
Original issue reported on code.google.com by
joaomarc...@gmail.com
on 5 Aug 2013 at 8:00