ICU-20438 Fixes issues found during BRS configuration test task.
diff --git a/icu4c/source/common/characterproperties.cpp b/icu4c/source/common/characterproperties.cpp
index ed45b7f..96186e6 100644
--- a/icu4c/source/common/characterproperties.cpp
+++ b/icu4c/source/common/characterproperties.cpp
@@ -24,8 +24,10 @@
#include "uprops.h"
using icu::LocalPointer;
+#if !UCONFIG_NO_NORMALIZATION
using icu::Normalizer2Factory;
using icu::Normalizer2Impl;
+#endif
using icu::UInitOnce;
using icu::UnicodeSet;
diff --git a/icu4c/source/i18n/listformatter.cpp b/icu4c/source/i18n/listformatter.cpp
index 6881421..ab8ef14 100644
--- a/icu4c/source/i18n/listformatter.cpp
+++ b/icu4c/source/i18n/listformatter.cpp
@@ -66,6 +66,7 @@
};
+#if !UCONFIG_NO_FORMATTING
class FormattedListData : public FormattedValueFieldPositionIteratorImpl {
public:
FormattedListData(UErrorCode& status) : FormattedValueFieldPositionIteratorImpl(5, status) {}
@@ -75,6 +76,7 @@
FormattedListData::~FormattedListData() = default;
UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL(FormattedList)
+#endif
static Hashtable* listPatternHash = nullptr;
diff --git a/icu4c/source/test/intltest/listformattertest.h b/icu4c/source/test/intltest/listformattertest.h
index f9d5a42..decd13b 100644
--- a/icu4c/source/test/intltest/listformattertest.h
+++ b/icu4c/source/test/intltest/listformattertest.h
@@ -24,6 +24,8 @@
#include "intltest.h"
#include "itformat.h"
+#if !UCONFIG_NO_FORMATTING
+
class ListFormatterTest : public IntlTestWithFieldPosition {
public:
ListFormatterTest();
@@ -125,4 +127,6 @@
const UnicodeString four;
};
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
#endif