summaryrefslogtreecommitdiffstats
path: root/intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props
parentInitial commit. (diff)
downloadfirefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.tar.xz
firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props')
-rw-r--r--intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props26
1 files changed, 26 insertions, 0 deletions
diff --git a/intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props b/intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props
new file mode 100644
index 0000000000..603788a953
--- /dev/null
+++ b/intl/icu/source/allinone/Build.Windows.Library.WarningSettings.ProjectConfiguration.props
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->
+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!-- This file is used to set compiler Warning configurations that are common to *all* ICU library code (common, i18n, and io). -->
+ <!-- Note: These options are for *all* configurations for *all* library projects. -->
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <!--
+ We treat the following Warnings as Errors in the ICU library code, in order to catch/prevent
+ issues like ICU-20209, ICU-20157, ICU-13816 and others.
+
+ C4251 Need to DLL-Export template instantiations.
+ C4661 No suitable definition provided for explicit template instantiation request.
+ C4715 Not all control paths return a value.
+ C4706 Assignment within conditional expression.
+ C4005 Macro redefinition.
+ C4068 Unknown pragma.
+ C4267 Conversion from size_t to type, possible loss of data.
+ C4910 __declspec(dllexport) and extern are incompatible on an explicit instantiation.
+ C4003 Not enough parameters for macro.
+ -->
+ <TreatSpecificWarningsAsErrors>4251;4661;4715;4706;4005;4068;4267;4910;4003;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
+ </ClCompile>
+ </ItemDefinitionGroup>
+</Project>