Subject: Re: [boost] [Boost.Test][Boot.Timer v2] header only boost.test conflicts with Boot.Timer V2
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2016-05-29 12:04:31
Le 29/05/16 à 08:59, Tan, Tom (Shanghai) a écrit :
> This following simple snippet would yield an error with visual studio 2015 for both boost1.60.61:
> boost/timer/timer.hpp(32): error C2757: 'timer': a symbol with this name already exists and therefore this name cannot be used as a namespace name
> It looks like Boost.Test is relying on boost.timer v1, which is deprecated in documentation and conflict with V2.
This is a known issue:
However, I do not know if Timer v2 has a header only option now, I
believe it is not (since I haven't created a ticket ...).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk