e:\数据结构课程设计\simulation\simulation.h(52) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Command line warning D4028 : minimal rebuild failure, reverting to normal build
执行 cl.exe 时出错.
解决的办法有三种:
1.给编译器增大内存限制。在project(工程)->setting(设置)->c/c++的project option(工程选项)中,添加/Zm#nn选项,#nn是一个数字,取值最大为2000。默认为100。但是这种方法好像没有什么用处。
2.将模板类头文件从stdafx.h中移出;
3.不使用预编译头文件。project->setting->c/c++,选择所有的.cpp文件,都使用“不使用预编译头文件“的选项。缺点是编译的时候很慢。
还有可能是编译器版本比较低,用vs2010
没有代码不好说,是不是用了虚类型的模板类
编译器内部错误,是不是代码触发编译器bug了
http://blog.csdn.net/johnny710vip/article/details/7065010
按这个上面说的操作一下试试
内部编译器错误, file 'msc1.cpp', line 1786