Visual C++ 的 fatal error C1001

    技术2025-04-25  25

        今天让我有幸碰到这个鸟错误(错误如下所示),折腾我一晚上,TMD郁闷,那感觉你懂的……此处省略N个字。

     

     

     texts.cpp(69) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'D:/vcmckendric/compiler/utc/src/P2/main.c', line 148) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information

     

     

        我用的编译器是eMbedded Visual C++ 4.0,Debug版本都灰常正常,Release版本就报这错,无奈,只能问baidu、问google,后来终于找到了办法。看微软的报告:http://support.microsoft.com/?scid=kb;en-us;305980&x=14&y=12,我是去掉Release版本编译选项"/O2 " (Project > Setting > C/C++,在Project Options中删掉"/O2 "),重新编译,成功,哦也!收工,睡觉……。

     

    最新回复(0)