- **status**: review --> fixed
- **Comment**:
changeset: 7045:6698aa9616a0
branch: opensaf-4.7.x
parent: 7041:fc15e05fff32
user: Anders Widell <[email protected]>
date: Wed Oct 28 16:14:46 2015 +0100
summary: imm: Fix build failure on CentOS 6 [#1570]
changeset: 7046:cebe05d49f04
tag: tip
parent: 7044:cd1a3d42a7fc
user: Anders Widell <[email protected]>
date: Wed Oct 28 16:14:46 2015 +0100
summary: imm: Fix build failure on CentOS 6 [#1570]
[staging:6698aa]
[staging:cebe05]
---
** [tickets:#1570] imm: Build failure on CentOS 6**
**Status:** fixed
**Milestone:** 4.7.0
**Created:** Mon Oct 26, 2015 03:24 PM UTC by Anders Widell
**Last Updated:** Mon Oct 26, 2015 03:56 PM UTC
**Owner:** Anders Widell
I get the following build failure on CentOS 6:
~~~~
CXX osafimmnd-ImmModel.o
In file included from ImmModel.cc:22:0:
ImmModel.hh:277:43: error: ‘va_list’ has not been declared
ImmModel.cc:9646:1: error: prototype for ‘void
ImmModel::setCcbErrorString(CcbInfo*, const char*, __va_list_tag*)’ does not
match any in class ‘ImmModel’
In file included from ImmModel.cc:22:0:
ImmModel.hh:279:25: error: candidates are: void
ImmModel::setCcbErrorString(CcbInfo*, const char*, ...)
ImmModel.hh:274:25: error: void
ImmModel::setCcbErrorString(CcbInfo*, const char*, int)
~~~~
The cause seems to be that ImmModel.hh uses "va_list" but does not include the
system header <cstdarg>
---
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