ubuntu でスクライブ サーバーをコンパイルしているときに、次のエラーが発生します。
In file included from store.cpp:27:
scribe_server.h:45: error: conflicting return type specified for ‘virtual scribe::thrift::ResultCode scribeHandler::Log(const std::vector<scribe::thrift::LogEntry, std::allocator<scribe::thrift::LogEntry> >&)’
../src/gen-cpp/scribe.h:18: error: overriding ‘virtual scribe::thrift::ResultCode::type scribe::thrift::scribeIf::Log(const std::vector<scribe::thrift::LogEntry, std::allocator<scribe::thrift::LogEntry> >&)’
store.cpp: In member function ‘virtual bool ThriftFileStore::openInternal(bool, tm*)’
thrift 0.7.0 で scribe 2.2 を使用しています。thrift のインストール中にエラーは発生しませんでした。
また、古いバージョンのthriftを使用しているときにこのエラーが発生するという投稿を1つ読みました。しかし、私はthriftの最新バージョンを使用しています。