Compiling build/cached/mongo/logger/rotatable_file_writer_test.o
|
src/mongo/logger/rotatable_file_writer_test.cpp:52:13: error: no matching conversion for
|
functional-style cast from 'std::__1::basic_ostream<char>' to '::testing::AssertionResult'
|
ASSERT_TRUE(writerUse.stream() << "Level 1 message." << std::endl);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
src/third_party/gtest-1.7.0/include/gtest/gtest.h:1921:3: note: expanded from macro 'ASSERT_TRUE'
|
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
src/third_party/gtest-1.7.0/include/gtest/internal/gtest-internal.h:1111:7: note: expanded from
|
macro 'GTEST_TEST_BOOLEAN_'
|
::testing::AssertionResult(expression)) \
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
src/third_party/gtest-1.7.0/include/gtest/gtest.h:260:3: note: candidate constructor not viable: no
|
known conversion from 'std::__1::basic_ostream<char>' to 'const testing::AssertionResult' for
|
1st argument
|
AssertionResult(const AssertionResult& other);
|
^
|
src/third_party/gtest-1.7.0/include/gtest/gtest.h:262:12: note: candidate constructor not viable: no
|
known conversion from 'std::__1::basic_ostream<char>' to 'bool' for 1st argument
|
explicit AssertionResult(bool success) : success_(success) {}
|
^
|
src/mongo/logger/rotatable_file_writer_test.cpp:53:13: error: no matching conversion for
|
functional-style cast from 'std::__1::basic_ostream<char>' to '::testing::AssertionResult'
|
ASSERT_TRUE(writerUse.stream() << "Level 2 message." << std::endl);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
....
|