<div dir="ltr">Hey Luke,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 30, 2016 at 7:46 PM, Luke Benes <span dir="ltr"><<a href="mailto:lukebenes@hotmail.com" target="_blank">lukebenes@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Ever since <a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=62c047ffb397802c09df9070492e70725928cadf" target="_blank">https://cgit.freedesktop.org/libreoffice/core/commit/?id=62c047ffb397802c09df9070492e70725928cadf</a><div><br></div><div><div>Author: Markus Mohrhard <<a href="mailto:markus.mohrhard@googlemail.com" target="_blank">markus.mohrhard@googlemail.com</a>></div><div>Date:   Mon Jun 20 09:02:47 2016 +0200</div><div><br></div><div>    switch to EHs on windows</div></div><div><br></div><div>I'm getting the following build error with MSVC 2015 (32-bit MSVC 2013 still works). </div><div><br></div><div><div>[build CXX] svl/source/undo/undo.cxx</div><div>c:\lode\dev\core\svl\source\undo\undo.cxx(390) : error C2220: warning treated as error - no 'object' file generated</div><div>c:\lode\dev\core\svl\source\undo\undo.cxx(390) : warning C4702: unreachable code</div><div>C:/lode/dev/core/solenv/gbuild/LinkTarget.mk:189: recipe for target 'C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o' failed</div><div>make[1]: *** [C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o] Error 2</div><div>make[1]: *** Waiting for unfinished jobs....</div><div>Makefile:258: recipe for target 'build' failed</div><div>make: *** [build] Error 2</div></div>                                           </div></div>
</blockquote></div><br><br></div><div class="gmail_extra">Most likely you need to remove the try .. catch block. As currently nobody is really using MSVC 2015 we are not going to see these issues. So if you plan to compile with MSVC 2015 you must fix most of them yourself until we finally switch.<br><br></div><div class="gmail_extra">I have currently no MSVC 2015 to see if removing the try catch block is the right fix.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,<br></div><div class="gmail_extra">Markus<br></div></div>