trunk does not build on debian etch
-----------------------------------

                 Key: THRIFT-337
                 URL: https://issues.apache.org/jira/browse/THRIFT-337
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (C++)
         Environment: etch 32-bit
            Reporter: Jonathan Ellis
            Priority: Blocker


trunk gen-cpp does not build on debian etch:

/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
-I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP 
-MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 
'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT 
DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c 
gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t 
thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 
'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t 
apache::thrift::protocol::TProtocol::readBool(bool&)
make[3]: *** [DebugProtoTest_types.lo] Error 1

After configure --disable-gen-cpp, a different error:

/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
-I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP 
-MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 
'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT 
DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c 
gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t 
thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 
'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t 
apache::thrift::protocol::TProtocol::readBool(bool&)
make[3]: *** [DebugProtoTest_types.lo] Error 1

I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to