- **status**: assigned --> duplicate
- **Comment**:
This is duplicate of #195, The patch is pushed in the changeset:
changeset: 7888:726ef6b3bd82
tag: tip
user: Zoran Milinkovic zoran.milinko...@ericsson.com
date: Thu Aug 18 14:00:59 2016 +0200
summary: imm: fix string format for size_t type [#195]
---
** [tickets:#1959] immnd: 32-bit build fails on changeset: 7878**
**Status:** duplicate
**Milestone:** 5.1.FC
**Created:** Fri Aug 19, 2016 07:21 AM UTC by A V Mahesh (AVM)
**Last Updated:** Fri Aug 19, 2016 07:21 AM UTC
**Owner:** Neelakanta Reddy
make[7]: Entering directory `/avm/staging-today/osaf/services/saf/immsv/immnd'
g++ -DHAVE_CONFIG_H -I. -I../../../../.. -DSA_CLM_B01
-DSA_EXTENDED_NAME_SOURCE -I../../../../../osaf/libs/saf/include
-I../../../../../osaf/libs/core/include
-I../../../../../osaf/libs/core/leap/include
-I../../../../../osaf/libs/core/mds/include
-I../../../../../osaf/libs/core/common/include
-I../../../../../osaf/libs/core/cplusplus
-I../../../../../osaf/libs/common/immsv/include -std=gnu++11 -Wall
-fno-strict-aliasing -Werror -fPIC -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2
-fstack-protector -DINTERNAL_VERSION_ID='""' -g -O2 -MT osafimmnd-ImmModel.o
-MD -MP -MF .deps/osafimmnd-ImmModel.Tpo -c -o osafimmnd-ImmModel.o `test -f
'ImmModel.cc' || echo './'`ImmModel.cc
In file included from ../../../../../osaf/libs/core/include/ncs_osprm.h:32:0,
from ../../../../../osaf/libs/core/include/ncs_lib.h:39,
from ../../../../../osaf/libs/common/immsv/include/immsv.h:30,
from immnd.h:31,
from ImmSearchOp.hh:26,
from ImmModel.cc:24:
ImmModel.cc: In member function ‘bool ImmModel::verifySchemaChange(const
string&, ClassInfo*, ClassInfo*, AttrMap&, AttrMap&)’:
../../../../../osaf/libs/core/common/include/logtrace.h:131:95: error: format
‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has
type ‘std::map<std::basic_string<char>, ClassInfo*>::size_type {aka unsigned
int}’ [-Werror=format=]
#define LOG_NO(format, args...) _logtrace_log(__FILE__, __LINE__, LOG_NOTICE,
(format), ##args)
^
ImmModel.cc:4178:25: note: in expansion of macro ‘LOG_NO’
LOG_NO("The Number of classes in the cluster %lu
greater than the schema change"
^
../../../../../osaf/libs/core/common/include/logtrace.h:131:95: error: format
‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has
type ‘std::vector<ImplementerInfo*>::size_type {aka unsigned int}’
[-Werror=format=]
#define LOG_NO(format, args...) _logtrace_log(__FILE__, __LINE__, LOG_NOTICE,
(format), ##args)
^
ImmModel.cc:4187:25: note: in expansion of macro ‘LOG_NO’
LOG_NO("The Number of Implementers in the cluster %lu
greater than the schema change"
^
../../../../../osaf/libs/core/common/include/logtrace.h:131:95: error: format
‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has
type ‘std::vector<AdminOwnerInfo*>::size_type {aka unsigned int}’
[-Werror=format=]
#define LOG_NO(format, args...) _logtrace_log(__FILE__, __LINE__, LOG_NOTICE,
(format), ##args)
^
ImmModel.cc:4196:25: note: in expansion of macro ‘LOG_NO’
LOG_NO("The Number of AdminOwners in the cluster %lu
greater than the schema change"
^
../../../../../osaf/libs/core/common/include/logtrace.h:131:95: error: format
‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has
type ‘std::vector<CcbInfo*>::size_type {aka unsigned int}’ [-Werror=format=]
#define LOG_NO(format, args...) _logtrace_log(__FILE__, __LINE__, LOG_NOTICE,
(format), ##args)
^
ImmModel.cc:4205:25: note: in expansion of macro ‘LOG_NO’
LOG_NO("The Number of Ccbs in the cluster %lu greater
than the schema change"
^
cc1plus: all warnings being treated as errors
---
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