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

Reid Spencer reid at x10sys.com
Wed Dec 29 13:38:05 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041229/94f2cbe4/attachment.sig>


More information about the llvm-dev mailing list