[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build

Jeff Cohen jeffc at jolt-lang.org
Wed Dec 29 19:03:20 PST 2004


I have no way of duplicating mingw problems either, but in this case the 
fix is obvious and has been committed.

Reid Spencer wrote:

>Not really. I'm pretty much leaving the win32 directory up to Jeff Cohen
>these days. I don't have a way to replicate the problem. 
>
>Reid.
>
>On Wed, 2004-12-29 at 12:46, Henrik Bach wrote:
>  
>
>>Reid,
>>
>>I'm just curious to know if these errors are on your new year list :)
>>----------------
>>make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System'
>>llvm[1]: Compiling DynamicLibrary.cpp for Debug build
>>In file included from 
>>c:/projects/src/llvm-1/llvm/lib/System/DynamicLibrary.cpp:25:
>>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:22: warning: 
>>ignoring #pragma comment
>>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp: In static 
>>member function `static void* 
>>llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(const char*)':
>>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:114: error: 
>>invalid conversion from `int (*)()' to `void*'
>>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp: In member 
>>function `void* llvm::sys::DynamicLibrary::GetAddressOfSymbol(const char*)':
>>c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:122: error: 
>>invalid conversion from `int (*)()' to `void*'
>>make[1]: *** 
>>[/C/projects/build/MinGW/llvm-1-1/lib/System/Debug/DynamicLibrary.o] Error 1
>>----------------
>>
>>Henrik.
>>
>>
>>=============================================================
>>Henrik Bach
>>Open Source Developer
>>
>>e-mail: henrik_bach_llvm at hotmail.com
>>=============================================================
>>Got Freedom?
>>Software Freedom Day 2004 - 28th of August
>>http://www.softwarefreedomday.org/
>>=============================================================
>>
>>_________________________________________________________________
>>Del din verden med MSN Spaces http://spaces.msn.com
>>
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>    
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>    
>>




More information about the llvm-dev mailing list