ijw/native 모듈이 발견되었습니다. 순수 모듈에 링크할 수 없습니다.
설명
현재 버전의 Visual C++는 네이티브 또는 혼합 관리/네이티브 .obj 파일을 컴파일된 .obj파일과 /clr:pure 연결하는 것을 지원하지 않습니다.
/clr:pure 컴파일러 옵션은 Visual Studio 2015에서 더 이상 사용되지 않으며 Visual Studio 2017 이상에서는 지원되지 않습니다.
Example
원본 파일 LNK1313.cpp:
// LNK1313.cpp
// compile with: /c /clr:pure
// a pure module
int main() {}
원본 파일 LNK1313_b.cpp:
// LNK1313_b.cpp
// compile with: /c /clr
// an IJW module
void test(){}
다음 예제에서는 LNK1313 생성합니다.
// LNK1313_c.cpp
// compile with: /link LNK1313.obj LNK1313_b.obj
// LNK1313 warning expected