목록work/error (9)
no swim no life
libc.lib is a old single-threaded static link CRT library, which is not supported since visual c++ 2005 and greater, it should not be used anymore. In Project -> Properties -> Configuration Properties -> Linker -> Input -> Ignore Specific Library ref : http://msdn.microsoft.com/en-us/library/6wtdswk0(vs.71).aspx
IE8.0 설치 후, VS2005, VS2008에서 변수나 함수를 추가할 때, 스크립트 오류가 발생하는 문제가 있다. ( "이 페이지의 스크립트에서 오류가 발생하였습니다" ) Visual C++ Team Blog에 아래와 같은 글이 있다. 원문: http://blogs.msdn.com/b/vcblog/archive/2009/03/28/some-vs2005-and-vs2008-wizards-pop-up-script-error.aspx
DLL 내부(B.dll)에서 선언한 메모리를 어플리케이션(A.exe)에서 해지하려 할 때 발생. 서로 다른 메모리 할당 규칙( Z != X )을 사용할 수 있는, A와 B 사이에 메모리 할당/해지가 발생했을 경우 Debug 모드라면 할당 규칙에 대한 검사 중 프로그램이 종료 될 것이다. (아래 코드) /* * If this ASSERT fails, a bad pointer has been passed in. It may be * totally bogus, or it may have been allocated from another heap. * The pointer MUST come from the 'local' heap. */ _ASSERTE(_CrtIsValidHeapPointer(pUserData)..
1. 프로젝트 종료 2. clw 파일 삭제 3. 프로젝트를 다시 열고 ClassWizard (Ctrl + W) 4. clw 새로 생성
; 세미콜론 고고 -_-;
long long은 gcc에서 지원 cl (VC compiler)에서는 __int64를 사용 (%I64d 로 출력) 부동소수 사용에 문제가 없다면 long double도 가능
warning: comparison is always false due to limited range of data type gcc에서 아래와 같은 코드가 해당 경고를 발생시킬 수 있다. unsigned char btFlag; ... if ( btFlag < 0 ) btFlag는 unsigned 이므로 항상 false 이다. 무심코 넘어갈 수 있는 부분
warning: no newline at end of file gcc에서 소스의 마지막 라인을 빈줄로 남겨두지 않으면 발생한다. 소스코드가 다른 유틸에 넘겨질 때 발생하는 문제를 막기위해서 라는데... 정확히 어떤 경우인지 잘 모르겠는 중-_-; 알려주시면 감사 :)