[Libreoffice-commits] core.git: l10ntools/source

Michael Stahl mstahl at redhat.com
Wed Aug 13 07:20:16 PDT 2014


 l10ntools/source/po.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 1cf299efcce79c686544d2ff034f916f93f69920
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Aug 13 16:14:58 2014 +0200

    l10ntools: suppress warning C4245 from boost/crc.hpp
    
    Change-Id: I2ed53b4f902ae694fc064375e8a9cfeba32f9d1c

diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index 5b40e8c..bc599a0 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -16,7 +16,15 @@
 #include <vector>
 #include <string>
 
+#ifdef _MSC_VER
+#pragma warning (push, 1)
+#pragma warning (disable: 4245)
+#endif
 #include <boost/crc.hpp>
+#ifdef _MSC_VER
+#pragma warning (pop)
+#endif
+
 
 #include "po.hxx"
 #include "helper.hxx"


More information about the Libreoffice-commits mailing list