Project: mesos
Issue MESOS-3603: Test build failure due to comparison between signed and unsigned integers
Compilation fails on OpenSUSE Tumbleweed (Linux 4.1.6, gcc 5.1.1, glibc 2.22) with the following errors: {code} In file included from ../../src/tests/values_tests.cpp:22:0: ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h: In instantiatio n of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int]’: ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1484:23: requi red from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long un signed int; bool lhs_is_null_literal = false]’ ../../src/tests/values_tests.cpp:287:3: required from here ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1448:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (expected == actual) { ^ CXX tests/containerizer/mesos_tests-provisioner_docker_tests.o ^CMakefile:6779: recipe for target 'tests/mesos_tests-values_tests.o' failed make[3]: *** [tests/mesos_tests-values_tests.o] Interrupt {code}
Story points: 1