[llvm-bugs] [Bug 26440] New: Using PCH doesn't auto-link "libcpmt.lib" as happend without PCH
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 2 07:44:57 PST 2016
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: unassignedclangbugs at nondot.org
Reporter: filtered at psychosanity.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160202/b0b2f7ea/attachment.html>
More information about the llvm-bugs
mailing list