Skip to content

Instantly share code, notes, and snippets.

/clang-cl Secret

Created Jan 12, 2017
Embed
What would you like to do?
clang version 4.0.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files (x86)\LLVM\bin
"C:\\Program Files (x86)\\LLVM\\bin\\clang-cl.exe" -cc1 -triple x86_64-pc-windows-msvc18.0.0 -emit-obj -mrelax-all -mincremental-linker-compatible -disable-free -main-file-name jesse.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros -freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -D_DEBUG -D_MT -flto-visibility-public-std --dependent-lib=libcmtd --dependent-lib=oldnames -fno-rtti-data -stack-protector 2 -gcodeview -fms-volatile -fdiagnostics-format msvc -momit-leaf-frame-pointer -v -gcodeview -debug-info-kind=limited -debugger-tuning=gdb -resource-dir "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0" -D INTERNAL=1 -D SLOW=1 -D WIN32=1 -internal-isystem "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0\\include" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.24728\\include" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\ucrt" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\um" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\winrt" -O0 -Wno-null-dereference -Werror -WCL4 -Wno-unused-parameter -Wno-unused-variable -Wno-microsoft-cast -Wno-missing-braces -Wno-unused-function -Wno-writable-strings -fdeprecated-macro -fdebug-compilation-dir "C:\\Users\\J\\Documents\\project1122017\\build" -ferror-limit 19 -fmessage-length 0 -fms-extensions -fms-compatibility -fms-compatibility-version=18 -std=c++11 -fno-threadsafe-statics -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -o "C:\\Users\\J\\AppData\\Local\\Temp\\jesse-5df37b.obj" -x c++ "C:\\Users\\J\\Documents\\project1122017\\code\\jesse.cpp"
clang -cc1 version 4.0.0 based upon LLVM 4.0.0-r291454 default target i686-pc-windows-msvc
#include "..." search starts here:
#include <...> search starts here:
C:\Program Files (x86)\LLVM\bin\..\lib\clang\4.0.0\include
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt
End of search list.
"link.exe" -out:jesse.dll -nologo -debug -dll -implib:jesse.lib -incremental:no -opt:ref -PDB:jesse_15328.pdb /EXPORT:GameUpdate "C:\\Users\\J\\AppData\\Local\\Temp\\jesse-5df37b.obj"
clang-cl.exe: error: unable to execute command: program not executable
clang-cl.exe: error: linker command failed with exit code 1 (use -v to see invocation)
clang version 4.0.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files (x86)\LLVM\bin
"C:\\Program Files (x86)\\LLVM\\bin\\clang-cl.exe" -cc1 -triple x86_64-pc-windows-msvc18.0.0 -emit-obj -mrelax-all -mincremental-linker-compatible -disable-free -main-file-name jesse_opengl45.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros -freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -D_DEBUG -D_MT -flto-visibility-public-std --dependent-lib=libcmtd --dependent-lib=oldnames -fno-rtti-data -stack-protector 2 -gcodeview -fms-volatile -fdiagnostics-format msvc -momit-leaf-frame-pointer -v -gcodeview -debug-info-kind=limited -debugger-tuning=gdb -resource-dir "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0" -D INTERNAL=1 -D SLOW=1 -D WIN32=1 -internal-isystem "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0\\include" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.24728\\include" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\ucrt" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\um" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\winrt" -O0 -Wno-null-dereference -Werror -WCL4 -Wno-unused-parameter -Wno-unused-variable -Wno-microsoft-cast -Wno-missing-braces -Wno-unused-function -Wno-writable-strings -fdeprecated-macro -fdebug-compilation-dir "C:\\Users\\J\\Documents\\project1122017\\build" -ferror-limit 19 -fmessage-length 0 -fms-extensions -fms-compatibility -fms-compatibility-version=18 -std=c++11 -fno-threadsafe-statics -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -o "C:\\Users\\J\\AppData\\Local\\Temp\\jesse_opengl45-83d172.obj" -x c++ "C:\\Users\\J\\Documents\\project1122017\\code\\jesse_opengl45.cpp"
clang -cc1 version 4.0.0 based upon LLVM 4.0.0-r291454 default target i686-pc-windows-msvc
#include "..." search starts here:
#include <...> search starts here:
C:\Program Files (x86)\LLVM\bin\..\lib\clang\4.0.0\include
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt
End of search list.
"link.exe" -out:jesse_opengl45.dll -nologo -debug -dll -implib:jesse_opengl45.lib -incremental:no -opt:ref -PDB:jesse_opengl45_7079.pdb opengl32.lib /EXPORT:RenderUpdate "C:\\Users\\J\\AppData\\Local\\Temp\\jesse_opengl45-83d172.obj"
clang-cl.exe: error: unable to execute command: program not executable
clang-cl.exe: error: linker command failed with exit code 1 (use -v to see invocation)
clang version 4.0.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files (x86)\LLVM\bin
"C:\\Program Files (x86)\\LLVM\\bin\\clang-cl.exe" -cc1 -triple x86_64-pc-windows-msvc18.0.0 -emit-obj -mrelax-all -mincremental-linker-compatible -disable-free -main-file-name win32_jesse.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros -freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -D_DEBUG -D_MT -flto-visibility-public-std --dependent-lib=libcmtd --dependent-lib=oldnames -fno-rtti-data -stack-protector 2 -gcodeview -fms-volatile -fdiagnostics-format msvc -momit-leaf-frame-pointer -v -gcodeview -debug-info-kind=limited -debugger-tuning=gdb -resource-dir "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0" -D INTERNAL=1 -D SLOW=1 -D WIN32=1 -internal-isystem "C:\\Program Files (x86)\\LLVM\\bin\\..\\lib\\clang\\4.0.0\\include" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.24728\\include" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\ucrt" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\um" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\winrt" -O0 -Wno-null-dereference -Werror -WCL4 -Wno-unused-parameter -Wno-unused-variable -Wno-microsoft-cast -Wno-missing-braces -Wno-unused-function -Wno-writable-strings -fdeprecated-macro -fdebug-compilation-dir "C:\\Users\\J\\Documents\\project1122017\\build" -ferror-limit 19 -fmessage-length 0 -fms-extensions -fms-compatibility -fms-compatibility-version=18 -std=c++11 -fno-threadsafe-statics -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -o "C:\\Users\\J\\AppData\\Local\\Temp\\win32_jesse-5874cc.obj" -x c++ "C:\\Users\\J\\Documents\\project1122017\\code\\win32_jesse.cpp"
clang -cc1 version 4.0.0 based upon LLVM 4.0.0-r291454 default target i686-pc-windows-msvc
#include "..." search starts here:
#include <...> search starts here:
C:\Program Files (x86)\LLVM\bin\..\lib\clang\4.0.0\include
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um
C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt
End of search list.
"link.exe" -out:win32_jesse.exe -nologo -debug -incremental:no -opt:ref -PDB:win32_jesse_2108.pdb user32.lib gdi32.lib opengl32.lib Ws2_32.lib "C:\\Users\\J\\AppData\\Local\\Temp\\win32_jesse-5874cc.obj"
clang-cl.exe: error: unable to execute command: program not executable
clang-cl.exe: error: linker command failed with exit code 1 (use -v to see invocation)
CTIME: 1.703 seconds (jesse.ctm)
exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment