<DIV>When I use VS2013 to build clang successfully, using Clang compile C or C + + program, whether it is with VC + +2012 (Windows kit 8.0) backend or VC + +2013 (Windows kit 8.1) as the backend, Clang without a exceptions are unresponsive.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Use Visual Studio 2013 X64 toochain( Lib Header tools)<BR><FONT style="BACKGROUND-COLOR: #ffff99">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64>clang bd.c -v<BR>clang version 3.4 (trunk)<BR>Target: x86_64-pc-win32<BR>Thread model: posix<BR> "E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe" -cc1 -triple x86_64-pc-win<BR>32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-model pic -pic-level 2 -<BR>mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -resource-dir "E<BR>:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4" -internal<BR>-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4<BR></FONT><A href="file://\\include"><FONT style="BACKGROUND-COLOR: #ffff99">\\include</FONT></A><FONT style="BACKGROUND-COLOR: #ffff99">" -internal-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\incl<BR>ude" -internal-isystem "D:\\Program Files\\Microsoft Visual Studio 12.0\\VC\\INCLUDE" -internal-isystem "D:\\Program Fil<BR>es\\Microsoft Visual Studio 12.0\\VC\\ATLMFC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.1\\in<BR>clude\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.1\\include\\um" -internal-isystem "C:\\Progra<BR>m Files (x86)\\Windows Kits\\8.1\\include\\winrt" -fdebug-compilation-dir "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Pa<BR>ckages\\win64\\NSIS\\LLVM-3.4.svn-win64" -ferror-limit 19 -fmessage-length 120 -mstackrealign -fms-extensions -fms-compa<BR>tibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics<BR>-vectorize-slp -o "D:\\Users\\HUXIZE~1\\Local\\Temp\\bd-f135a8.o" -x c bd.c<BR>clang -cc1 version 3.4 based upon LLVM 3.4svn default target x86_64-pc-win32<BR>#include "..." search starts here:<BR>#include <...> search starts here:<BR> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\include<BR> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include<BR> D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE<BR> D:\Program Files\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE<BR> C:\Program Files (x86)\Windows Kits\8.1\include\shared<BR> C:\Program Files (x86)\Windows Kits\8.1\include\um<BR> C:\Program Files (x86)\Windows Kits\8.1\include\winrt<BR>End of search list.<BR>Stack dump:<BR>0. Program arguments: E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe -c<BR>c1 -triple x86_64-pc-win32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-<BR>model pic -pic-level 2 -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x8<BR>6-64 -v -resource-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4<BR>-internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\incl<BR>ude -internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include -internal-isy<BR>stem D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE -internal-isystem D:\Program Files\Microsoft Visual Studio<BR> 12.0\VC\ATLMFC\INCLUDE -internal-isystem C:\Program Files (x86)\Windows Kits\8.1\include\shared -internal-isystem C:\Pr<BR>ogram Files (x86)\Windows Kits\8.1\include\um -internal-isystem C:\Program Files (x86)\Windows Kits\8.1\include\winrt -f<BR>debug-compilation-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64 -ferror-limit 19 -fme<BR>ssage-length 120 -mstackrealign -fms-extensions -fms-compatibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-<BR>runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o D:\Users\HUXIZE~1\Local\Temp\bd-f135a8.o -x<BR>c bd.c<BR>1. D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h:2074:55: current parser token ';'<BR>0x00007FF7985D06D0 (0x00000023410D1220 0x000000234101C610 0x000000234101D5B0 0x0000000000000000)<BR>0x00007FF798130777 (0x00000023410AEE78 0x0000000000000000 0x00000023000282D0 0x0000000000000006)<BR>0x00007FF798128160 (0x000000234101CDF0 0x00000023410AED20 0x000000234101CDF0 0x00007FF797F4B422)<BR>0x00007FF798128B83 (0x00000023430DD0D8 0x00007FF79811923F 0x0000000000000000 0x00000023410AEE78)<BR>0x00007FF79812BC11 (0x00000023430DD0F8 0x00000023410DBDD0 0x00000023430DD0F8 0x000000234101C7C0)<BR>0x00007FF798029659 (0x0000002341289EC7 0x0000002341130B80 0x000000234101CB60 0x00000023430DD0C0)<BR>0x00007FF7980101AF (0x0000002300000002 0x000000234101C990 0x00003B574CB1BEA9 0x000000234101C9D0)<BR>0x00007FF797F96785 (0x00000023000282E7 0x0000002341130B70 0x00007FF797F99818 0x0000002341130B70)<BR>0x00007FF797F95AFA (0x000000234101DAF0 0x00007FF797F4B422 0x000000234101D560 0x000000234101D600)<BR>0x00007FF797F9FA34 (0x0000002341130B70 0x00000023410AED20 0x0000002341130B70 0x00007FF797F4B422)<BR>0x00007FF797F9603D (0x0000000000000000 0x0000000000000000 0x0000002341130B70 0x000000234101DB38)<BR>0x00007FF797F873AC (0x0000000000000000 0x00000023430D7D00 0x000000234101DB80 0x00000023410ADAB0)<BR>0x00007FF797F89159 (0x0000002341130E78 0x00000023430D7D00 0x0000002341130B70 0x00000023410CFC50)<BR>0x00007FF797F836F6 (0x0000000000000000 0x0000000000000000 0x00000023410A43F0 0x0000000000000000)<BR>0x00007FF797F076CB (0x00000023410A83D0 0x00000023410A43F0 0x00000023410AD280 0x00000023410A8300)<BR>0x00007FF797DCB9A7 (0x00000023410A83D0 0x0000000000000000 0x00000023410A43F0 0x00000023410A83D0)<BR>0x00007FF797F075D3 (0x0000000000000000 0x00000023410A43F0 0x00000023410A43F0 0x0000000000000000)<BR>0x00007FF797F00412 (0x00000023410A56A0 0x00000023410A43F0 0x00000023410A83D0 0x0000000000000000)<BR>0x00007FF797DBBCE9 (0x00000023410A43F0 0x00000023410A43F0 0x000000234109A1A0 0x00000023410A5780)<BR>0x00007FF79758F470 (0x00000023410A1070 0x0000000000000000 0x000000000000003A 0x0000000000000000)<BR>0x00007FF79758DD29 (0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000000)<BR>0x00007FF7984C6580 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)<BR>0x00007FF9BB7C15BD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk()<BR>+ 0xD bytes(s)<BR>0x00007FF9BC6E43D1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() +<BR> 0x1D bytes(s)<BR>clang.exe: error: clang frontend command failed due to signal (use -v to see invocation)<BR>clang version 3.4 (trunk)<BR>Target: x86_64-pc-win32<BR>Thread model: posix<BR>clang.exe: note: diagnostic msg: PLEASE submit a bug report to </FONT><A href="http://llvm.org/bugs/"><FONT style="BACKGROUND-COLOR: #ffff99">http://llvm.org/bugs/</FONT></A><FONT style="BACKGROUND-COLOR: #ffff99"> and include the crash backtrace, pr<BR>eprocessed source, and associated run script.<BR>clang.exe: note: diagnostic msg:<BR>********************</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffff99">PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<BR>Preprocessed source(s) and associated run script(s) are located at:<BR>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-2173fb.c<BR>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-2173fb.sh<BR>clang.exe: note: diagnostic msg:</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffff99">********************</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffff99">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64></FONT></DIV>
<DIV> </DIV>
<DIV>Use Visual Studio 2012 X64 toochain( Lib Header tools)</DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ccffcc">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64>clang bd.c -v<BR>clang version 3.4 (trunk)<BR>Target: x86_64-pc-win32<BR>Thread model: posix<BR> "E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe" -cc1 -triple x86_64-pc-win<BR>32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-model pic -pic-level 2 -<BR>mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -resource-dir "E<BR>:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4" -internal<BR>-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4<BR></FONT><A href="file://\\include"><FONT style="BACKGROUND-COLOR: #ccffcc">\\include</FONT></A><FONT style="BACKGROUND-COLOR: #ccffcc">" -internal-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\incl<BR>ude" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\INCLUDE" -internal-isystem "C:\\Progr<BR>am Files (x86)\\Microsoft Visual Studio 11.0\\VC\\ATLMFC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Windows K<BR>its\\8.0\\include\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.0\\include\\um" -internal-isystem<BR> "C:\\Program Files (x86)\\Windows Kits\\8.0\\include\\winrt" -fdebug-compilation-dir "E:\\ClangSetup\\Build\\MSVC12\\X6<BR>4\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64" -ferror-limit 19 -fmessage-length 120 -mstackrealign -fms-extension<BR>s -fms-compatibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-<BR>diagnostics -vectorize-slp -o "D:\\Users\\HUXIZE~1\\Local\\Temp\\bd-b8e421.o" -x c bd.c<BR>clang -cc1 version 3.4 based upon LLVM 3.4svn default target x86_64-pc-win32<BR>#include "..." search starts here:<BR>#include <...> search starts here:<BR> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\include<BR> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include<BR> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE<BR> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\INCLUDE<BR> C:\Program Files (x86)\Windows Kits\8.0\include\shared<BR> C:\Program Files (x86)\Windows Kits\8.0\include\um<BR> C:\Program Files (x86)\Windows Kits\8.0\include\winrt<BR>End of search list.<BR>Stack dump:<BR>0. Program arguments: E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe -c<BR>c1 -triple x86_64-pc-win32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-<BR>model pic -pic-level 2 -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x8<BR>6-64 -v -resource-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4<BR>-internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\incl<BR>ude -internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include -internal-isy<BR>stem C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE -internal-isystem C:\Program Files (x86)\Microsoft V<BR>isual Studio 11.0\VC\ATLMFC\INCLUDE -internal-isystem C:\Program Files (x86)\Windows Kits\8.0\include\shared -internal-i<BR>system C:\Program Files (x86)\Windows Kits\8.0\include\um -internal-isystem C:\Program Files (x86)\Windows Kits\8.0\incl<BR>ude\winrt -fdebug-compilation-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64 -ferror-l<BR>imit 19 -fmessage-length 120 -mstackrealign -fms-extensions -fms-compatibility -fmsc-version=1700 -fdelayed-template-par<BR>sing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o D:\Users\HUXIZE~1\Local\Temp\bd-<BR>b8e421.o -x c bd.c<BR>1. C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\crtdefs.h:1981:55: current parser token ';'<BR>0x00007FF7985D06D0 (0x0000009E09EE16B0 0x0000009E09CDC4A0 0x0000009E09CDD440 0x0000000000000000)<BR>0x00007FF798130777 (0x0000009E09EBF308 0x0000000000000000 0x0000009E00024E59 0x0000000000000006)<BR>0x00007FF798128160 (0x0000009E09CDCC80 0x0000009E09EBF1B0 0x0000009E09CDCC80 0x00007FF797F4B422)<BR>0x00007FF798128B83 (0x0000009E0BD80810 0x00007FF79811923F 0x0000000000000000 0x0000009E09EBF308)<BR>0x00007FF79812BC11 (0x0000009E0BD80830 0x0000009E09EED2E0 0x0000009E0BD80830 0x0000009E09CDC650)<BR>0x00007FF798029659 (0x0000009E09E5795A 0x0000009E09F42560 0x0000009E09CDC9F0 0x0000009E0BD807F8)<BR>0x00007FF7980101AF (0x0000009E00000002 0x0000009E09CDC820 0x00006B3160C99BB7 0x0000009E09CDC860)<BR>0x00007FF797F96785 (0x0000009E00024E70 0x0000009E09F42550 0x00007FF797F99818 0x0000009E09F42550)<BR>0x00007FF797F95AFA (0x0000009E09CDD980 0x00007FF797F4B422 0x0000009E09CDD3F0 0x0000009E09CDD400)<BR>0x00007FF797F9FA34 (0x0000009E09F42550 0x0000009E09EBF1B0 0x0000009E09F42550 0x00007FF797F4B422)<BR>0x00007FF797F9603D (0x0000000000000000 0x0000000000000000 0x0000009E09F42550 0x0000009E09CDD9C8)<BR>0x00007FF797F873AC (0x0000000000000000 0x0000009E0BD79610 0x0000009E09CDDA10 0x0000009E09EBDF40)<BR>0x00007FF797F89159 (0x0000009E09F42858 0x0000009E0BD79610 0x0000009E09F42550 0x0000009E09EEEE90)<BR>0x00007FF797F836F6 (0x0000000000000000 0x0000000000000000 0x0000009E09EB3330 0x0000000000000000)<BR>0x00007FF797F076CB (0x0000009E09EBAF20 0x0000009E09EB3330 0x0000009E09EBD710 0x0000009E09EBAF00)<BR>0x00007FF797DCB9A7 (0x0000009E09EBAF20 0x0000000000000000 0x0000009E09EB3330 0x0000009E09EBAF20)<BR>0x00007FF797F075D3 (0x0000000000000000 0x0000009E09EB3330 0x0000009E09EB3330 0x0000000000000000)<BR>0x00007FF797F00412 (0x0000009E09EBADB0 0x0000009E09EB3330 0x0000009E09EBAF20 0x0000000000000000)<BR>0x00007FF797DBBCE9 (0x0000009E09EB3330 0x0000009E09EB3330 0x0000009E09EAAD20 0x0000009E09EBAE90)<BR>0x00007FF79758F470 (0x0000009E09EB56A0 0x0000000000000000 0x000000000000003A 0x0000000000000000)<BR>0x00007FF79758DD29 (0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000000)<BR>0x00007FF7984C6580 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)<BR>0x00007FF9BB7C15BD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk()<BR>+ 0xD bytes(s)<BR>0x00007FF9BC6E43D1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() +<BR> 0x1D bytes(s)<BR>clang.exe: error: clang frontend command failed due to signal (use -v to see invocation)<BR>clang version 3.4 (trunk)<BR>Target: x86_64-pc-win32<BR>Thread model: posix<BR>clang.exe: note: diagnostic msg: PLEASE submit a bug report to </FONT><A href="http://llvm.org/bugs/"><FONT style="BACKGROUND-COLOR: #ccffcc">http://llvm.org/bugs/</FONT></A><FONT style="BACKGROUND-COLOR: #ccffcc"> and include the crash backtrace, pr<BR>eprocessed source, and associated run script.<BR>clang.exe: note: diagnostic msg:<BR>********************</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ccffcc">PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<BR>Preprocessed source(s) and associated run script(s) are located at:<BR>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-103e49.c<BR>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-103e49.sh<BR>clang.exe: note: diagnostic msg:</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ccffcc">********************</FONT></DIV>
<DIV> </DIV>
<DIV>I will test clang( VisualStudio 2013 x86 Build)</DIV>
<DIV>
<DIV style="FONT-SIZE: 12px; FONT-FAMILY: Arial Narrow; COLOR: #909090">------------------</DIV>
<DIV style="FONT-SIZE: 14px; FONT-FAMILY: Verdana; COLOR: #000"><A href="http://wpa.qq.com/msgrd?v=3&uin=1053112601&site=qq&menu=yes" target=_blank><IMG title=点击这里给我发消息 border=0 src="http://wpa.qq.com/pa?p=2:1053112601:50"></A></DIV></DIV>
<DIV> </DIV>