CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): windy96 (BrandNew)
날 짜 (Date): 2002년 11월 26일 화요일 오후 04시 28분 23초
제 목(Title): Re: 괴상한 증상


네.. 그런 문제는 Visual Studio 업그레이드.. 서비스팩을 깔면 됩니다.
전 이런 문제가 있더군요.

C:\projects\RCE\Command.cpp(215) : 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

문제가 된 부분은 아래 부분인데 Internal Compiler Error라는 것이 명확하게 
무엇이다
라는 것은 없더군요. 
this->m_arg.m_renameTreeNode.m_pOldName
   = new CString(pTarget->GetName());

대충 컴파일러 내부적으로 꼬여서 그런 것 같아서 아래와 같이 풀어써서 
해결했습니다.
ASSERT(pTarget->GetName());
CString *k = new CString();
*k = (pTarget->GetName());
this->m_arg.m_renameTreeNode.m_pOldName = k;


그런데 서비스팩 2에선가는... 아무런 문제없이 컴파일되더군요.


[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.