我的程序引用了别人写的一个类
编译自后,出现这个错误,怎么解决?
Compiling...
testado2Dlg.cpp
c:\vcexample\testado2\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
C:\vcexample\testado2\testado2Dlg.cpp(193) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file .\Debug\testado2Dlg.sbr: No such file or directory
Error executing bscmake.exe.
望大虾帮忙
是不是少了大括号,rebuild all试一下
#include "stdafx.h"
没包含头文件。
就是漏了 “stdafx.h”文件。
或者在编译器当中关闭 预编译头文件 也可以解决问题。