diff options
author | Noel Grandin <noel@peralex.com> | 2018-06-03 13:07:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-06 08:55:02 +0200 |
commit | 9739c37d8ad7c6fca269709674a6975fa7ebd191 (patch) | |
tree | fae0bf0830d41d66017815ff6a665610d2c65a8a /l10ntools | |
parent | a96a260a5fd6303eeebb26aee4be24ddf88391d1 (diff) |
enable incremental linking on windows
requires a handful of workarounds
Change-Id: I77c25580135eeec437716eceea1412607f8d14ca
Reviewed-on: https://gerrit.libreoffice.org/55244
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/cfgmerge.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index 2eda993d72f7..ed124c5c428a 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -158,6 +158,9 @@ void CfgParser::AddText( pStackData->sText[ rIsoLang ] = rText; } +#if defined _MSC_VER +#pragma warning(disable: 4702) // unreachable code, bug in MSVC2015, it thinks the std::exit is unreachable +#endif void CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken ) { OString sToken( pToken ); |