我下载了Windows的最新和最大的提升,即1.65.1(zip文件)。编译一个项目,我现在得到static_assert.hpp自身包含的错误。果然,这里是全部:boost/static_assert.hpp自身包含
//Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_STATIC_ASSERT
#include <boost/static_assert.hpp>
#define BOOST_QVM_STATIC_ASSERT BOOST_STATIC_ASSERT
#endif
以前的版本我都有,1.62,有一个装有吨宏和大写jibberish的static_assert.hpp。
我需要做什么?
编辑:我下载了boost_1_65_1.7z存档,并没有问题。问题解决了。有人可以向助推员报告吗?
不,如我所说,我粘贴的内容来自boost/static_assert.hpp。该文件在.zip存档中发生故障。在.7z存档中是正确的。 –
对不起,但你没有这么说。你解释说这些是static_assert.hpp的内容,你没有指定路径。 – Pedja
@JiveDadson从[boost/qvm/static_assert.hpp](http://www.boost.org/doc/libs/1_65_1/boost/qvm/static_assert)粘贴的代码(仅通过查看宏来显而易见)。 HPP)。 – llonesmiz