#43: Fix the initialization of all global constants.
------------------------+---------------------------------------------------
Reporter: garrigues | Owner: Olena Team
Type: defect | Status: reopened
Priority: major | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by levill_r):
* status: closed => reopened
* resolution: fixed =>
* milestone: Olena 1.0 => Olena 1.1
Old description:
* Use extern const ref, not static.
* Move impl. within MLN_INCLUDE_ONLY.
Apply this to source:trunk/milena/mln.
New description:
* Use extern const ref, not static (really?)
* Move implementation into another file (e.g., `foo.hcc`)
* Provide a `globals.hcc` including all `.hcc` files (convenience
shortcut).
* Tell users (a entry in the FAQ would be useful) to include each
needed `.hcc` file '''once''' per program.
--
Comment:
Reopen. The test is spurious: there are actual link issues with the
current solution.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/43#comment:5>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.