这是源代码:/* Compile options needed: none
*/#include <afxwin.h> // MFC core and standard components
class CTestApp : public CWinApp { public:
CTestApp();};
CTestApp::CTestApp() { } CTestApp NEAR theApp; LPSTR FunctionName (char* pszFileName) { DWORD dwMaxLength;
unsigned int nChars;
LPSTR LpSrc, lpDst, lpNew;
static char szPath [_MAX_PATH]; while (*LpSrc)
{
switch (*LpSrc)
{
case ('\\'):
case ('/'):
*lpDst++ = *LpSrc++;
nChars = 0;
break ; case ('<'):
case ('>'):
case ('"'):
case ('|'):
ASSERT (FALSE);
LpSrc++;
break; default:
if (nChars < dwMaxLength)
*lpDst++ = *LpSrc++;
else
LpSrc++;
nChars++;
break; // Without the following closing brace for the switch
// statement, the compiler issues the C1001 error or hangs
// instead of generating the appropriate syntax error message. //}
} return lpNew;} 编译器编译时有如下提示: 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
Error executing cl.exe.
请问这是什么 错误?望高手指点
*/#include <afxwin.h> // MFC core and standard components
class CTestApp : public CWinApp { public:
CTestApp();};
CTestApp::CTestApp() { } CTestApp NEAR theApp; LPSTR FunctionName (char* pszFileName) { DWORD dwMaxLength;
unsigned int nChars;
LPSTR LpSrc, lpDst, lpNew;
static char szPath [_MAX_PATH]; while (*LpSrc)
{
switch (*LpSrc)
{
case ('\\'):
case ('/'):
*lpDst++ = *LpSrc++;
nChars = 0;
break ; case ('<'):
case ('>'):
case ('"'):
case ('|'):
ASSERT (FALSE);
LpSrc++;
break; default:
if (nChars < dwMaxLength)
*lpDst++ = *LpSrc++;
else
LpSrc++;
nChars++;
break; // Without the following closing brace for the switch
// statement, the compiler issues the C1001 error or hangs
// instead of generating the appropriate syntax error message. //}
} return lpNew;} 编译器编译时有如下提示: 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
Error executing cl.exe.
请问这是什么 错误?望高手指点
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货