
C++
文章平均质量分 52
shenyi0_0
软件工程师 C++ C# 医疗图像
展开
-
Linux移植遇到问题记录
报错:invalid use of incomplete type ‘class XXX’问题描述:定义模板类,使用前向声明引入class XXX,类定义中使用了指针,即XXX spXXX,以上OK。但模板在头文件中实现,实现过程中调用spXXX->Refresh()。上述代码出了问题:在Window VS中可以执行编译,但移植到Linux时会报上述错误解决:引入class XXX的头文件。报错:changes meaning of ‘XXX’ from ‘enum A::B::XXX’问题原创 2020-10-21 16:12:21 · 748 阅读 · 0 评论 -
预编译头超出上限错误 就是include比较多
提示报错:error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm142' or greaterfatal error C1076: compiler limit : internal heap limit reached; use /Zm原创 2016-12-05 10:38:24 · 430 阅读 · 0 评论 -
const char* p 、char* const p、const (char*) p 理解记忆
const char* p 、char* const p、const (char*) p 理解记忆原创 2017-09-12 10:43:47 · 1970 阅读 · 1 评论