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


On 20/08/18 21:01, Luke Benes wrote:
After I updated from MSVC 15.7.6 to 15.8.1, I started seeing the following build failure:

[build CXX] sc/source/ui/docshell/docsh8.cxx
c:\core\sc\source\ui\docshell\docsh8.cxx(996) : error C2220: warning treated as error - no 'object' 
file generated
c:\core\sc\source\ui\docshell\docsh8.cxx(996) : warning C4702: unreachable code
c:\core\sc\source\ui\docshell\docsh8.cxx(1054) : warning C4702: unreachable code
c:\core\sc\source\ui\docshell\docsh8.cxx(1063) : warning C4702: unreachable code
make[1]: *** [C:/core/solenv/gbuild/LinkTarget.mk:293: 
C:/core/workdir/CxxObject/sc/source/ui/docshell/docsh8.o] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:286: build] Error 2


This only seems to affect 64-bit release builds. 32-bit release builds are working. This is similar 
to

http://document-foundation-mail-archive.969070.n3.nabble.com/Windows-32-bit-build-failure-unreachable-code-td4243848.html#a4244013

Move the <https://cgit.freedesktop.org/libreoffice/core/commit/?id=232622051966faa116e7093d5c0df26e44cddb43> "Fix Win32 warning C4702: unreachable code" hack from solenv/gbuild/platform/WNT_INTEL_MSC.mk to solenv/gbuild/platform/com_MSC_defs.mk, so that it also affects 64-bit builds? (Best move it into the existing "ifneq ($(COM_IS_CLANG),TRUE)" block there, as clang-cl most probably doesn't have the same bug and thus doesn't need the hack.)

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.