https://llvm.org/bugs/show_bug.cgi?id=26440
Bug ID: 26440 Summary: Using PCH doesn't auto-link "libcpmt.lib" as happend without PCH Product: clang Version: trunk Hardware: PC OS: Windows XP Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: filte...@psychosanity.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified I'm using trunk clang along with the libraries/headers/etc from VS 2015. When I tried to put all the system headers I use (windows.h, plus several c++ headers like vector) into a precompiled header, linking started failing. After turning on the linker's verbose option, I found the culprit: Without using PCH, "libcpmt.lib" is automatically linked into the executable, but using the PCH does not include that library automatically. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs