Subject: [boost] [Iterator][Type_Erasure] Conflicting declaration. (Fix is provided.)
From: Deniz Bahadir (deniz.bahadir_at_[hidden])
Date: 2015-07-16 13:19:57
I noticed a "conflicting declaration" error when developing a program
which uses Boost.Program_Options and Boost.Type_Erasure.
Further investigation showed me, that the conflict is actually between
Boost.Iterator and Boost.Type_Erasure.
A test-case which demonstrates this compiler-error is the following
Clang is quite verbose and outputs the following:
target of using declaration conflicts with declaration already in scope
target of using declaration
1 error generated.
The fix is actually quite simple and should be applied to
Boost.Iterator. I already provided a pull-request  for this.
I hope this fix can still make it into the upcoming 1.59 release of Boost.
-- BENOCS GmbH Dipl.-Inform. Deniz Bahadir Winterfeldtstr. 21 10781 Berlin Germany Phone: +49 - 30 / 577 0004-22 Email: deniz.bahadir_at_[hidden] www.benocs.com Board of Management: Michael Wolz, Dr.-Ing. Oliver Holschke, Dr.-Ing. Ingmar Poese Commercial Register: Amtsgericht Bonn HRB 19378
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk