- **status**: review --> fixed
- **assigned_to**: Long HB Nguyen --> nobody
- **Comment**:
changeset: 8061:da089e8f337c
tag: tip
parent: 8059:9eb1e54daa76
user: Long Nguyen
date: Tue Sep 13 19:12:26 2016 +1000
summary: amf: Unit tests fail to build [#2019]
changeset: 8060:901da236b68c
branch: opensaf-5.1.x
parent: 8058:a2d3ea8d848f
user: Long Nguyen
date: Tue Sep 13 19:10:22 2016 +1000
summary: amf: Unit tests fail to build [#2019]
---
** [tickets:#2019] amf: Unit tests fail to build**
**Status:** fixed
**Milestone:** 5.1.RC1
**Created:** Fri Sep 09, 2016 01:08 PM UTC by Anders Widell
**Last Updated:** Tue Sep 13, 2016 04:33 AM UTC
**Owner:** nobody
"make check" fails (32-bit system, GCC version 6.1.1, googletest version
48ee8e98abc950abd8541e15550b18f8f6cfb3a9):
~~~
make[8]: Entering directory
'/home/opensaf/opensaf-staging/osaf/services/saf/amf/amfd/tests'
CXX testamfd-test_ckpt_enc_dec.o
In file included from test_ckpt_enc_dec.cc:22:0:
/home/opensaf/googletest/googletest/include/gtest/gtest.h: In instantiation of
'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const
char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int]':
/home/opensaf/googletest/googletest/include/gtest/gtest.h:1421:23: required
from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const
char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int; bool
lhs_is_null_literal = false]'
test_ckpt_enc_dec.cc:354:3: required from here
/home/opensaf/googletest/googletest/include/gtest/gtest.h:1392:11: error:
comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
if (lhs == rhs) {
~~~~^~~~~~
/home/opensaf/googletest/googletest/include/gtest/gtest.h: In instantiation of
'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const
char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = long long
int]':
/home/opensaf/googletest/googletest/include/gtest/gtest.h:1421:23: required
from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const
char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = long long
int; bool lhs_is_null_literal = false]'
test_ckpt_enc_dec.cc:362:3: required from here
/home/opensaf/googletest/googletest/include/gtest/gtest.h:1392:11: error:
comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
cc1plus: all warnings being treated as errors
Makefile:814: recipe for target 'testamfd-test_ckpt_enc_dec.o' failed
make[8]: *** [testamfd-test_ckpt_enc_dec.o] Error 1
make[8]: Leaving directory
'/home/opensaf/opensaf-staging/osaf/services/saf/amf/amfd/tests'
~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets