Boost logo

Boost :

Subject: Re: [boost] [Program Options] fix for #6797 breaks compilation
From: Daniela Engert (dani_at_[hidden])
Date: 2014-01-08 12:10:34


Am 07.01.2014 16:48 schrieb Jürgen Hunold:
> the fix for #6797 in 4ae33ce15e5b6345e6eefa19466fdf7cd28a7bbd breaks compilation
> if Boost.ProgramOptions on msvc-11.0 and -12.0. See full error log with msvc-11.0
> attached.
> It seems that the export macros changes the template evaluation somehow, so msvc
> now needs "decrement" and "advance" member. The short error is:
>
> I'm not sure how to implement at least empty stubs or if this can be otherwise worked
> around.

I can see this problem with vc10, vc11, and vc12, too. Empty stubs do
rectify this issue (Boost.Signals required a similar workaround).

I've opened pull request
https://github.com/boostorg/program_options/pull/1. With this fix in
place, all tests pass with said compilers.

Ciao,
   Dani


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk