Ticket #3105 (closed Bugs: fixed)
error C2872: 'time_t' : ambiguous symbol in microsec_time_clock.hpp line 168 :
|Reported by:||Kevin Duffy <duffy151+boost@…>||Owned by:||az_sw_dude|
Using MS Visual Studio 2008, If I have a time_t type defined, this error will occur as the compile can't resolve if the time_t is my type or the one from the one in \microsoft visual studio 9.0\vc\include\crtdefs.h(580) : time32_t time_t
The fix is trivial; simply need to qualify the time_t in the static_cast of the cited line. diff attached.