Henrik Bach
2004-Dec-23 22:06 UTC
[LLVMdev] Undefined reference to`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Hi Reid,>Get the latest version. I committed a fix to Path.cpp last night. It >wasn't being defined in the sys:: namespace which is why its undefined.It didn't do any better by removing the old debug files, getting the latest version and reconfiguration of the build. No diffs of Path.cpp and gccld.cpp against top of mainline were were found. Henrik. _________________________________________________________________ Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Reid Spencer
2004-Dec-23 22:17 UTC
[LLVMdev] Undefined reference to`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Its version 1.27 of lib/System/Unix/Path.cpp for Cygwin and version 1.22 of lib/System/Win32/Path.cpp for Win32 Please note that 1.22 of Win32/Path.cpp was *just* committed. I fixed the Unix side, but not the Win32 side until just now. Sorry about that. Promise to get better about this soon (more machines to test on). Reid. On Thu, 2004-12-23 at 14:06, Henrik Bach wrote:> Hi Reid, > > >Get the latest version. I committed a fix to Path.cpp last night. It > >wasn't being defined in the sys:: namespace which is why its undefined. > > It didn't do any better by removing the old debug files, getting the latest > version and reconfiguration of the build. No diffs of Path.cpp and gccld.cpp > against top of mainline were were found. > > Henrik. > > _________________________________________________________________ > Dont just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > _______________________________________________ > 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/20041223/9d503258/attachment.sig>
Henrik Bach
2004-Dec-23 23:48 UTC
[LLVMdev] Undefined referenceto`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Hi Reid, The error still exists. However, looking on the function in Win32/Path.cpp: -------------- void sys::CopyFile(const sys::Path &Dest, const sys::Path &Src) { if (!::CopyFile(Src.c_str(), Dest.c_str(), false)) ThrowError("Can't copy '" + Src.toString() + "' to '" + Dest.toString() + "'"); } -------------- I notice, that the function is living in the sys namespace. Shouldn't it live in the Path class instead? A copy-past to fast ;-) Henrik. _________________________________________________________________ Log p� MSN Messenger direkte fra nettet http://webmessenger.msn.com/
Apparently Analagous Threads
- [LLVMdev] Undefined reference to`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
- [LLVMdev] Undefined referenceto`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
- [LLVMdev] Undefined reference to `llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
- [LLVMdev] Undefined referenceto`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
- [LLVMdev]Undefinedreferenceto`llvm::sys::CopyFile(llvm::sys::Path const&,llvm::sys::P