<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 23, 2015 at 2:45 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">-      M.SectionsAllocatedSinceLastLoad = {};<br>
+      M.SectionsAllocatedSinceLastLoad = SectionAddrSet{};<br></blockquote></div></div><div><br>MSVC supports braced init in this context/usage? Huh.<br></div></div></div></div></blockquote><div><br></div><div>Only in variable declarations, and this is an assignment:</div><div><br></div><div>[3/7] Building CXX object lib\ExecutionEngine\Orc\CMakeFiles\LLVMOrcJIT.dir\OrcMCJITReplacement.cpp.obj</div><div>FAILED: C:\PROGRA~2\MICROS~4.0\VC\bin\cl.exe   /nologo /TP /DWIN32 /D_WINDOWS /W3   /MD /O2 /Ob2 -Ilib\ExecutionEngine\Orc -I..\lib\ExecutionEngine\Orc -Iinclude -I..\include    -UNDEBUG -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4800 -w14062 -we4238 /EHs-c- /GR- /showIncludes -DGTEST_HAS_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /Folib\ExecutionEngine\Orc\CMakeFiles\LLVMOrcJIT.dir\OrcMCJITReplacement.cpp.obj /Fdlib\ExecutionEngine\Orc\CMakeFiles\LLVMOrcJIT.dir/ /FS -c ..\lib\ExecutionEngine\Orc\OrcMCJITReplacement.cpp</div><div>d:\src\llvm\lib\executionengine\orc\OrcMCJITReplacement.h(261) : error C2593: 'operator =' is ambiguous</div><div>        C:/PROGRA~2/MICROS~4.0/VC/include\set(180): could be 'std::set<const void *,std::less<_Kty>,std::allocator<_Kty>> &std::set<_Kty,std::less<_Kty>,std::allocator<_Kty>>::operator =(std::initializer_list<const void *>)'</div><div>        with</div><div>        [</div><div>            _Kty=const void *</div><div>        ]</div><div>        C:/PROGRA~2/MICROS~4.0/VC/include\set(139): or       'std::set<const void *,std::less<_Kty>,std::allocator<_Kty>> &std::set<_Kty,std::less<_Kty>,std::allocator<_Kty>>::operator =(std::set<_Kty,std::less<_Kty>,std::allocator<_Kty>> &&)'</div><div>        with</div><div>        [</div><div>            _Kty=const void *</div><div>        ]</div><div>        C:/PROGRA~2/MICROS~4.0/VC/include\set(123): or       'std::set<const void *,std::less<_Kty>,std::allocator<_Kty>> &std::set<_Kty,std::less<_Kty>,std::allocator<_Kty>>::operator =(const std::set<_Kty,std::less<_Kty>,std::allocator<_Kty>> &)'</div><div>        with</div><div>        [</div><div>            _Kty=const void *</div><div>        ]</div><div>        while trying to match the argument list '(llvm::OrcMCJITReplacement::SectionAddrSet, initializer-list)' </div></div></div></div>