You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "song bruce zhang (Code Review)" <ge...@cloudera.org> on 2016/05/28 07:02:32 UTC
[kudu-CR] fix compile error when compiling column_predicate-test.cc
Hello Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/3233
to look at the new patch set (#4).
Change subject: fix compile error when compiling column_predicate-test.cc
......................................................................
fix compile error when compiling column_predicate-test.cc
In env : boost 1.57, centos 6.5, it will fail when compiling
column_predicate-test.cc.
Specific error messages:
"gtest-printers.h:245: undefined reference to `std::basic_ostream<char,
std::char_traits<char>>& boost::operator<< <char,std::char_traits<char>
,kudu::ColumnPredicate>>(std::basic_ostream<char,
std::char_traits<char>>&, boost::optional<kudu::ColumnPredicate> const&)`"
Adding optional_io.hpp into column_predicate.h get another compile error:
"operator<<: cannot bind lvalue to 'std::basic_ostream<char>&&'"
write a boost:operator<< in column_predicate.c , compile succeed.
Change-Id: I6f9a9634eeccd86616be80b004ecce596155bb57
---
M src/kudu/common/column_predicate-test.cc
M src/kudu/common/column_predicate.cc
M src/kudu/common/column_predicate.h
3 files changed, 18 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/3233/4
--
To view, visit http://gerrit.cloudera.org:8080/3233
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6f9a9634eeccd86616be80b004ecce596155bb57
Gerrit-PatchSet: 4
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: song bruce zhang <zs...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins