本文介绍了#包括<螺纹>和错误C2371:'int8_t':重新定义;不同的基本类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我一直致力于为我正在研究的程序添加功能,并希望使用std :: Threads添加多线程。我注意到的是当添加#include< thread>时错误错误C2371发生编译错误:'int8_t':redefinition;不同的基本类型
可以做些什么来纠正这个?
Hello all,
I've been working on adding functionality to a program I'm working on and would like to use std::Threads to add multi-threading. What I've noticed is that when adding #include<thread> a compilation error occurs with the error-error C2371: 'int8_t' : redefinition; different basic types"
What can be done to correct this?
推荐答案
这篇关于#包括<螺纹>和错误C2371:'int8_t':重新定义;不同的基本类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!