New C2220: warning treated as error (MSVC 2015 build failure)

Luke Benes lukebenes at hotmail.com
Thu Jun 30 17:46:54 UTC 2016


Ever since https://cgit.freedesktop.org/libreoffice/core/commit/?id=62c047ffb397802c09df9070492e70725928cadf
Author: Markus Mohrhard <markus.mohrhard at 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.cxxc:\lode\dev\core\svl\source\undo\undo.cxx(390) : error C2220: warning treated as error - no 'object' file generatedc:\lode\dev\core\svl\source\undo\undo.cxx(390) : warning C4702: unreachable codeC:/lode/dev/core/solenv/gbuild/LinkTarget.mk:189: recipe for target 'C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o' failedmake[1]: *** [C:/lode/dev/core/workdir/CxxObject/svl/source/undo/undo.o] Error 2make[1]: *** Waiting for unfinished jobs....Makefile:258: recipe for target 'build' failedmake: *** [build] Error 2 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160630/55de4b13/attachment.html>


More information about the LibreOffice mailing list