[LLVMdev] Undefinedreferenceto`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Henrik Bach
henrik_bach_llvm at hotmail.com
Thu Dec 23 16:05:00 PST 2004
Hi Reid,
Looking closer at the build process, I find that Path.cpp doesn't get
compiled, even if it is a newer version than its *.o file. That's probaly
the reason the error still exists. I'm to tired to think, but I'll look
closer at it tomorrow.
Merry Christmas
Henrik.
----Original Message Follows----
From: "Henrik Bach" <henrik_bach_llvm at hotmail.com>
Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev]
Undefinedreferenceto`llvm::sys::CopyFile(llvm::sys::Path const&,
llvm::sys::P
Date: Fri, 24 Dec 2004 00:48:26 +0100
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/
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
More information about the llvm-dev
mailing list