Kaydet (Commit) bc5f5630 authored tarafından Mike Kaganski's avatar Mike Kaganski

i18npool: MSVC: pragma warning: make more specific, remove obsolete

Change-Id: Iacb0c1fba331aa76ea341bc21690f09109b14a0a
Reviewed-on: https://gerrit.libreoffice.org/48990Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst bf79168d
......@@ -74,7 +74,7 @@ $(i18npool_BIDIR)/OpenOffice_dat.c : $(SRCDIR)/i18npool/CustomTarget_breakiterat
$(call gb_ExternalExecutable_get_command,gencmn) -n OpenOffice -t tmp -S -d $(i18npool_BIDIR)/ 0 $${RESPONSEFILE} && \
rm -f $${RESPONSEFILE} && \
echo '#ifdef _MSC_VER' > $@ && \
echo '#pragma warning( disable : 4229 4668 )' >> $@ && \
echo '#pragma warning( disable : 4229 )' >> $@ && \
echo '#endif' >> $@ && \
cat $(subst _dat,_tmp,$@) >> $@)
......
......@@ -58,10 +58,6 @@
#include <string.h>
#include <algorithm>
#if defined( _MSC_VER )
#pragma warning(once: 4068)
#endif
#include "levdis.hxx"
#define LEVDISBIG (nLimit + 1) // Return value if distance > nLimit
......
......@@ -40,13 +40,6 @@
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#ifdef _MSC_VER
// get rid of that dumb compiler warning
// identifier was truncated to '255' characters in the debug information
// for STL template usage, if .pdb files are to be created
#pragma warning( disable: 4786 )
#endif
#include <string.h>
using namespace ::com::sun::star::util;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment