Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hey Luke,

On Thu, Jun 30, 2016 at 7:46 PM, Luke Benes <lukebenes@hotmail.com> wrote:

Ever since
https://cgit.freedesktop.org/libreoffice/core/commit/?id=62c047ffb397802c09df9070492e70725928cadf

Author: Markus Mohrhard <markus.mohrhard@googlemail.com>
Date:   Mon Jun 20 09:02:47 2016 +0200

    switch to EHs on windows

I'm getting the following build error with MSVC 2015 (32-bit MSVC 2013
still works).

[build CXX] svl/source/undo/undo.cxx
c:\lode\dev\core\svl\source\undo\undo.cxx(390) : error C2220: warning
treated as error - no 'object' file generated
c:\lode\dev\core\svl\source\undo\undo.cxx(390) : warning C4702:
unreachable code
C:/lode/dev/core/solenv/gbuild/LinkTarget.mk:189: recipe for target
'C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o' failed
make[1]: *** [C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o]
Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:258: recipe for target 'build' failed
make: *** [build] Error 2



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.

I have currently no MSVC 2015 to see if removing the try catch block is the
right fix.

Regards,
Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.