Observed following other errors:
mds_c_db.c: In function ‘mds_process_info_add’:
mds_c_db.c:2342:8: error: format ‘%lx’ expects argument of type ‘long unsigned 
int’, but argument 6 has type ‘MDS_DEST’ [-Werror=format=]
        TRACE_ENTER2("dest:%lx, pid:%d", info->mds_dest, info->pid);
        ^
mds_c_db.c: In function ‘mds_process_info_del’:
mds_c_db.c:2351:8: error: format ‘%lx’ expects argument of type ‘long unsigned 
int’, but argument 6 has type ‘MDS_DEST’ [-Werror=format=]
        TRACE_ENTER2("dest:%lx, pid:%d", info->mds_dest, info->pid);
        ^
========================
mds_main.c: In function ‘mds_register_callback’:
mds_main.c:152:2: error: format ‘%lx’ expects argument of type ‘long unsigned 
int’, but argument 6 has type ‘MDS_DEST’ [-Werror=format=]
  TRACE("mds: received %d from %lx, pid %d", type, mds_dest, creds->pid);
  ^
mds_main.c:167:3: error: format ‘%lx’ expects argument of type ‘long unsigned 
int’, but argument 4 has type ‘MDS_DEST’ [-Werror=format=]
   syslog(LOG_WARNING, "%s: dest %lx already exist", __FUNCTION__, mds_dest);
   ^


---

** [tickets:#997] imm:compilation failed in 32-bit**

**Status:** assigned
**Milestone:** 4.5.0
**Created:** Wed Aug 20, 2014 07:00 AM UTC by Neelakanta Reddy
**Last Updated:** Wed Aug 20, 2014 07:00 AM UTC
**Owner:** Neelakanta Reddy

ImmModel.cc: In member function ‘SaUint32T 
ImmModel::cleanTheBasement(InvocVector&, InvocVector&, IdVector&, IdVector&, 
bool)’:
ImmModel.cc:11928:42: error: comparison between signed and unsigned integer 
expressions [-Werror=sign-compare]
         if(now - ci2->second.mCreateTime >= ci2->second.mTimeout) {
                                          ^
ImmModel.cc:11970:46: error: comparison between signed and unsigned integer 
expressions [-Werror=sign-compare]
                 (now - (*i3)->mWaitStartTime >= oi_timeout)) ||
                                              ^
ImmModel.cc:11976:55: error: comparison between signed and unsigned integer 
expressions [-Werror=sign-compare]
                 } else if(now - (*i3)->mWaitStartTime >= max_oi_timeout) {
                                                       ^
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.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to