[llvm] r255621 - Fix MSVC build with LLVM_ENABLE_THREADS=OFF

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 12:50:45 PST 2015


Oh ok you are talking about this one:

> C:\llvm\rw\include\llvm/Support/ThreadPool.h(73): error C3848: expression having type 'const std::_Bind<true,void,void (__cdecl *const )(std::atomic_int &,int),_Ty,size_t &>' would lose some const-volatile qualifiers in order to call 'void std::_Bind<true,void,void (__cdecl *const )(std::atomic_int &,int),_Ty,size_t &>::operator ()<>(void)'
> 1>          with

It was not clear in the sea of warning (probably because I'm used to Clang like warnings).

I'm away of the office right now, I'll try to look at it if you don't figure out, but no ETA.

Thanks,

Mehdi



Sent from my iPhone

On Dec 15, 2015, at 5:59 AM, Kuperstein, Michael M <michael.m.kuperstein at intel.com> wrote:

>> C:\llvm\rw\include\llvm/Support/ThreadPool.h(73): error C3848: expression having type 'const std::_Bind<true,void,void (__cdecl *const )(std::atomic_int &,int),_Ty,size_t &>' would lose some const-volatile qualifiers in order to call 'void std::_Bind<true,void,void (__cdecl *const )(std::atomic_int &,int),_Ty,size_t &>::operator ()<>(void)'
>> 1>          with
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151215/a0f163de/attachment.html>


More information about the llvm-commits mailing list