[cfe-dev] Can't seem to compile clang with clang.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Sep 16 20:08:52 PDT 2010
2010/9/17 <crazygamealexs at hotmail.com>:
> Thanks it fixed that, but I got another error.
> In file included from Program.cpp:55:
> C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:321:11: error: call to
> 'SetInformationJobObject' is ambiguous
> if (SetInformationJobObject(hJob, JobObjectExtendedLimitInformation,
> ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from Program.cpp:55:
> In file included from
> C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:14:
> In file included from C:/msys/home/alex/llvm/lib/System/Win32/Win32.h:23:
> In file included from c:/mingw/include/windows.h:49:
> c:/mingw/include/winbase.h:1358:24: note: candidate function
> WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE, ...
> ^
> In file included from Program.cpp:55:
> C:/msys/home/alex/llvm/lib/System/Win32/Program.inc:129:15: note: candidate
> function
> BOOL WINAPI SetInformationJobObject(HANDLE hJob,
http://llvm.org/bugs/show_bug.cgi?id=7927
To work around, modify to "::SetInformationJobObject"
or eliminate the declaration. (your mingw already has the decl!)
...Takumi
More information about the cfe-dev
mailing list