[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
Alan Garny
agarny at hellix.com
Tue Mar 10 09:52:00 PDT 2015
No, I am currently using MSVC 2013 Update 3. Why? Is there something I should (have) know(n)?
Alan
From: Zachary Turner [mailto:zturner at google.com]
Sent: 10 March 2015 17:40
To: Alan Garny; llvmdev
Subject: Re: [LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
To be certain, are you using MSVC 2013 Update 4?
On Tue, Mar 10, 2015 at 9:18 AM Alan Garny <agarny at hellix.com> wrote:
> > So… my question is: why?! More importantly: what do I need to do to be
> > able to export/import a class such as clang::driver::Compilation?
>
> It looks like MSVC is trying to synthesize and export the copy assignment
> operator and copy constructur. This is interesting, as I thought it wouldn't do
> that if the class turns out not to be non-copyable.
>
> Does adding the following to the class (and similarly for others that are
> failing) work?
>
> Compilation& operator=(Compilation&) = delete;
> Compilation(Compilation&) = delete
Good timing. This is the conclusion and solution to which I came too. I have tried it on my test case and it is working fine. I am now going to try it on my project and see how it goes, but at least that seems promising.
Alan
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150310/7a006af1/attachment.html>
More information about the llvm-dev
mailing list