C1001:编译器中包含 <boost/shared_ptr.hpp 时发生内部错误>
C1001: An internal error has occurred in the compiler when including <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <iostream>
int main()
{
std::cout << "Hello World!n";
}
错误C1001 中发生内部错误 编译器。日志 c:\local\boost_1_69_0\boost\smart_ptr\shared_ptr.hpp 813
为什么我会收到此错误?我只是包含它,然后出现此错误。我使用具有最新更新的Visual Studio 2017。
我发现问题,一致性模式设置为"是"。
相关文章:
- CMake项目Boost库错误:Boost/config/compiler/gcc.hpp:165:10:致命错误:cs
- 什么是"#include <boost/functional/hash.hpp> "?
- 使用Vulkan hpp vk::enumerateInstanceVersion()会导致segfault
- CLANG 编译器 说:变量"PTR"可能未初始化
- 在以唯一ptr为值的C++映射中,动态内存何时会被销毁
- 如何将class.cpp和class.hpp编译为一个.o文件
- 将 ptr 传递给 ptr 到 A 作为参数传递给 A 的函数是不好的做法吗?
- g++ -I 和 -L 命令来查找不起作用的 .hpp 文件
- VS Code C++:不准确的系统包括路径错误(wchar.h,boost/lambda/lambda.hpp)
- 为共享 ptr 向量实现复制 c'tor?
- 字符和整数中 **(ptr+1) 的值差异
- C++:在不中断共享的情况下通过引用传递共享 PTR?
- 如何将派生类从基 ptr 分配给 nlohmann::json
- Gnuplot_i.hpp C++接口绘制局部变量而不是文件
- 引用 std::shared:ptr 以避免引用计数
- 致命错误:找不到'boost/uuid/uuid.hpp'文件
- BGL:当包含 random_spanning_tree.hpp 时,对strong_components的调用无法编译
- 造成致命错误:boost/fusion/iterator/equal_to.hpp 没有这样的文件或目录
- 无法使包含.hpp文件与其中的2个文件一起使用
- 为什么我不能在不进行任何转换的情况下将浮点数放入任何类型的 ptr 中?