It was ; 
changeset:   7984:e1b3edff1075
tag:         tip
user:        [email protected]
date:        Tue Aug 30 11:17:45 2016 +0530
summary:     amfd: fix compilation issue with gcc 6.1.1 [#1980]




---

** [tickets:#1980] amf: Build failure with gcc 6.1.1**

**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Mon Aug 29, 2016 07:52 PM UTC by Anders Widell
**Last Updated:** Tue Aug 30, 2016 05:40 AM UTC
**Owner:** Praveen


AMF fails to build with gcc 6.1.1:

~~~
make[7]: Entering directory 
'/home/opensaf/opensaf-staging/osaf/services/saf/amf/amfd'
  CXX      osafamfd-util.o
util.cc: In function 'void free_d2n_pg_msg_info(AVSV_DND_MSG*)':
util.cc:1726:2: error: this 'if' clause does not guard... 
[-Werror=misleading-indentation]
  if (info->mem_list.numberOfItems)
  ^~
util.cc:1728:3: note: ...this statement, but the latter is misleadingly 
indented as if it is guarded by the 'if'
   delete [] info->mem_list.notification;
   ^~~~~~
cc1plus: all warnings being treated as errors
Makefile:1432: recipe for target 'osafamfd-util.o' failed
make[7]: *** [osafamfd-util.o] Error 1
~~~


---

Sent from sourceforge.net because [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to