- **Milestone**: 5.0.RC1 --> 4.6.2
- **Comment**:
changeset: 7443:efa10f74060f
branch: opensaf-4.6.x
parent: 7413:76c2220731b3
user: Anders Widell <[email protected]>
date: Mon Apr 11 10:25:49 2016 +0200
summary: amfnd: Add missing braces [#1743]
changeset: 7444:140fb8a4ee6f
branch: opensaf-4.7.x
parent: 7414:55b4fe6d2537
user: Anders Widell <[email protected]>
date: Mon Apr 11 10:25:49 2016 +0200
summary: amfnd: Add missing braces [#1743]
changeset: 7445:77a0f4135508
branch: opensaf-5.0.x
parent: 7441:5b6ecbd4a400
user: Anders Widell <[email protected]>
date: Mon Apr 11 10:25:49 2016 +0200
summary: amfnd: Add missing braces [#1743]
changeset: 7446:833a967c3bea
parent: 7442:4063690ec922
user: Anders Widell <[email protected]>
date: Mon Apr 11 10:25:49 2016 +0200
summary: amfnd: Add missing braces [#1743]
[staging:efa10f]
[staging:140fb8]
[staging:77a0f4]
[staging:833a96]
---
** [tickets:#1743] osaf: Build fails with GCC version 6**
**Status:** review
**Milestone:** 4.6.2
**Created:** Fri Apr 08, 2016 12:34 PM UTC by Anders Widell
**Last Updated:** Fri Apr 08, 2016 04:12 PM UTC
**Owner:** Anders Widell
The following build errors were observed with GCC version 6 and optimization
level -O3:
~~~~
imm_dumper.cc: In function 'int main(int, char**)':
imm_dumper.cc:149:5: error: this 'if' clause does not guard...
[-Werror=misleading-indentation]
if ((c = getopt_long(argc, argv, "hp:x:c:a:", long_options, NULL)) == -1)
^~
imm_dumper.cc:152:13: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the 'if'
switch (c) {
^~~~~~
~~~~
~~~~
compdb.cc: In function 'int comp_init(AVND_COMP*, const SaImmAttrValuesT_2**)':
compdb.cc:1579:2: error: this 'if' clause does not guard...
[-Werror=misleading-indentation]
if
(immutil_getAttr(const_cast<SaImmAttrNameT>("saAmfCompCSISetCallbackTimeout"),
attributes,
^~
compdb.cc:1582:3: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the 'if'
comp->use_comptype_attr->set(CsiSetCallbackTimeout);
^~~~
compdb.cc:1584:2: error: this 'if' clause does not guard...
[-Werror=misleading-indentation]
if
(immutil_getAttr(const_cast<SaImmAttrNameT>("saAmfCompCSIRmvCallbackTimeout"),
attributes,
^~
compdb.cc:1587:3: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the 'if'
comp->use_comptype_attr->set(CsiRemoveCallbackTimeout);
^~~~
~~~~
~~~~
tet_Log_recov.c:76:18: error: 'wr_delay' defined but not used
[-Werror=unused-const-variable=]
static const int wr_delay = 100*1000; /* 100 ms */
^~~~~~~~
~~~~
~~~~
test_saImmOmCcbObjectCreate_2.c:20:30: error: 'nonExistingClassName' defined
but not used [-Werror=unused-const-variable=]
static const SaImmClassNameT nonExistingClassName = (SaImmClassNameT) __FILE__;
^~~~~~~~~~~~~~~~~~~~
~~~~
~~~~
In file included from ../../../../../osaf/libs/core/include/ncs_osprm.h:32:0,
from ../../../../../osaf/libs/core/include/ncs_ubaid.h:45,
from ../../../../../osaf/libs/core/include/mbcsv_papi.h:29,
from lgs.h:30,
from lgs_stream.cc:29:
../../../../../osaf/libs/core/common/include/logtrace.h: In function 'int
log_stream_file_close(log_stream_t*)':
../../../../../osaf/libs/core/common/include/logtrace.h:131:46: error:
'errno_ret' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
#define LOG_NO(format, args...) _logtrace_log(__FILE__, __LINE__, LOG_NOTICE,
(format), ##args)
^
lgs_stream.cc:978:6: note: 'errno_ret' was declared here
int errno_ret;
^~~~~~~~~
~~~~
---
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.------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets