boost/static_assert.hpp包含其自身 [英] boost/static_assert.hpp includes itself
问题描述
我下载了Windows的最新最大功能,即1.65.1(zip文件).编译项目时,我现在得到了static_assert.hpp包含其自身的错误.果然,这里是全部:
I downloaded the latest and greatest boost for Windows, namely 1.65.1 (zip file). Compiling a project, I now get the error that static_assert.hpp includes itself. Sure enough, here it is in its entirety:
//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包含一个static_assert.hpp,其中装有大量的宏和大写的小写字母.
The previous version I have, 1.62, has a static_assert.hpp that is loaded with tons of macros and upper-case jibberish.
我需要做什么?
我下载了boost_1_65_1.7z档案,这很好.问题解决了.有人可以向提拔人员举报吗?
I downloaded the boost_1_65_1.7z archive, and it's fine. Problem solved. Can someone report this to the boost people?
推荐答案
当我使用.7z归档文件而不是.zip进行安装时,一切都很好.
When I installed using the .7z archive instead of the .zip, everything was fine.
这篇关于boost/static_assert.hpp包含其自身的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!