[Libreoffice-commits] core.git: solenv/gbuild
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jul 27 22:20:36 UTC 2018
solenv/gbuild/platform/WNT_INTEL_MSC.mk | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e06ec84a80ee7e8f493f0c032f1586cbcd2be533
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jul 27 13:00:40 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Jul 28 00:20:04 2018 +0200
Mark workaround for compiler bug as such
Change-Id: If024b41e09765f921080b208f166dd2245bc8765
Reviewed-on: https://gerrit.libreoffice.org/58182
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
index 72679c5a0e30..04484f007413 100644
--- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk
+++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
@@ -22,6 +22,8 @@ gb_CPUDEFS := -D_X86_=1
include $(GBUILDDIR)/platform/com_MSC_defs.mk
+# Work around MSVC 2017 compiler bug (see comments at <https://gerrit.libreoffice.org/#/c/57472/>
+# "Fix Win32 warning C4702: unreachable code":
gb_CXXFLAGS += \
$(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4702) \
More information about the Libreoffice-commits
mailing list