转载 : https://blog.csdn.net/ydyang1126/article/details/51434265
https://github.com/vpython/visual/issues/3
原因:
boost版本在1.50后,将该TIME_UTC这个名字修改为TIME_UTC_,
只需要将task_adaptors.hpp中的TIME_UTC修改为boost::TIME_UTC_即可.
修改名字的原因是C++ 11定义了TIME_UTC这个宏,为了避免冲突需要作此修改。
Errors during compilation of Visual with Boost 1.50:
This patch fixes compilation:
|
Arfrever
commented
on 7 Jul 2012