[cfe-dev] Link error on Windows system
Robert Ankeney
rrankene at gmail.com
Tue Feb 5 13:01:20 PST 2013
I tried to do a build of trunk on a Windows7 x64 system using Visual Studio
2010. The build failed with:
1>------ Build started: Project: cmTryCompileExec4049036585, Configuration:
Debug Win32 ------
1>Build started 2/5/2013 12:46:17 PM.
1>PrepareForBuild:
1> Creating directory "C:\svn\build\CMakeFiles\CMakeTmp\Debug\".
1>InitializeBuildStatus:
1> Creating
"cmTryCompileExec4049036585.dir\Debug\cmTryCompileExec4049036585.unsuccessfulbuild"
because "AlwaysCreate" was specified.
1>ClCompile:
1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01
for 80x86
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
SUPPORTS_NO_VARIADIC_MACROS_FLAG /D _DEBUG /D "CMAKE_INTDIR=\"Debug\""
/D_MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
/Fo"cmTryCompileExec4049036585.dir\Debug\\"
/Fd"C:/svn/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4049036585.pdb"
/Gd /TP /analyze- /errorReport:prompt src.cxx /Zm1000 -Wno-variadic-macros
1>cl : Command line error D8021: invalid numeric argument
'/Wno-variadic-macros'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.11
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Source file was:
int main() { return 0;}
Any idea where to go from here? This was using cmake 2.8.10.2 with the
command line:
C:\svn\build\CMakeFiles>cmake -G "Visual Studio 10"
-DPYTHON_EXECUTABLE=C:\Python33 ..\llvm
Thanks!
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130205/955615c2/attachment.html>
More information about the cfe-dev
mailing list