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
[snip]
It looks like Boost.Test is relying on boost.timer v1, which is deprecated in documentation and conflict with V2.
Hi, This is a known issue: - https://svn.boost.org/trac/boost/ticket/9434 - https://svn.boost.org/trac/boost/ticket/7397 - http://lists.boost.org/Archives/boost/2013/10/207072.php - http://lists.boost.org/Archives/boost/2015/01/219127.php 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 ...). Raffi