[llvm-bugs] [Bug 31854] New: Clang-CL compiles __fastfail intrinsic but fails to link

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 3 02:46:36 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31854

            Bug ID: 31854
           Summary: Clang-CL compiles __fastfail intrinsic but fails to
                    link
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: steveire at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ type ..\intrin.cpp

#include <intrin.h>


int main ()
{
    __fastfail(0);

    return 0;
}
$ C:\dev\src\llvm\build\releaseprefix\msbuild-bin\CL.exe ..\intrin.cpp
intrin-04b3c6.obj : error LNK2019: unresolved external symbol __fastfail
referenced in function main
intrin.exe : fatal error LNK1120: 1 unresolved externals
clang-cl.exe: error: linker command failed with exit code 1120 (use -v to see
invocation)

-- 
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/20170203/31c61e76/attachment.html>


More information about the llvm-bugs mailing list