You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Esteve Fernandez (JIRA)" <ji...@apache.org> on 2009/02/10 22:31:59 UTC

[jira] Updated: (THRIFT-337) trunk does not build on debian etch

     [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez updated THRIFT-337:
------------------------------------

    Attachment: thrift-337.patch

Changed readBool to take bool and not a reference, std::vector<bool> is a specialization for std::vector which returns std::_Bit_reference

> 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
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> 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.