---
** [tickets:#2198] imm: Multiple definitions of IMM_VALIDATION_ABORT and
IMM_RESOURCE_ABORT**
**Status:** unassigned
**Milestone:** 5.0.2
**Created:** Tue Nov 22, 2016 12:09 PM UTC by Anders Widell
**Last Updated:** Tue Nov 22, 2016 12:09 PM UTC
**Owner:** nobody
The constants IMM_VALIDATION_ABORT and IMM_RESOURCE_ABORT are define at
multiple locations:
~~~
$ grep -r _ABORT immsv/|grep define
immsv/immnd/immnd_evt.c:#define IMM_VALIDATION_ABORT "IMM: Validation abort:
"
immsv/immnd/immnd_evt.c:#define IMM_RESOURCE_ABORT "IMM: Resource
abort: "
immsv/immnd/ImmModel.cc:#define IMM_VALIDATION_ABORT "IMM: Validation abort: "
immsv/immnd/ImmModel.cc:#define IMM_RESOURCE_ABORT "IMM: Resource abort: "
~~~
The definitions ought to be moved to one single header file, to avoid code
duplication and the risk of divergence (spelling mistakes in one of the
definitions but not the other, etc.).
---
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