VC++6.0 Error executing cl.exe 问题如何解决
--------------------Configuration:UartProcess-Win32Debug--------------------Compiling...
--------------------Configuration: UartProcess - Win32 Debug--------------------
Compiling...
UartProcessDlg.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(248) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(268) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(278) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(378) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(391) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(466) : error C2601: 'OnBtRec' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(477) : error C2601: 'OnBtStop' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(482) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
UartProcessDlg.obj - 3 error(s), 10 warning(s)
这是编译时整个的输出。昨天都一直能运行的,今天就突然出这种问题了,闹心啊!!!! 展开
Compiling...
UartProcessDlg.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(248) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(268) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(278) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(378) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(391) : warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(439) : warning C4554: '|' : check operator precedence for possible error; use parentheses to clarify precedence
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(466) : error C2601: 'OnBtRec' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(477) : error C2601: 'OnBtStop' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\UartProcess\UartProcessDlg.cpp(482) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
UartProcessDlg.obj - 3 error(s), 10 warning(s)
这是编译时整个的输出。昨天都一直能运行的,今天就突然出这种问题了,闹心啊!!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询