* tests/unictype/test-categ_none.c (main): Disable the test on MSVC.
+2022-09-04 Bruno Haible <bruno@clisp.org>
+
+ unictype/category-none tests: Fix a link error on MSVC.
+ * tests/unictype/test-categ_none.c (main): Disable the test on MSVC.
+
2022-09-04 Bruno Haible <bruno@clisp.org>
oset-c++: Fix compilation error with MSVC 14.
int
main ()
{
+ /* This test cannot be compiled on platforms on which _UC_CATEGORY_NONE
+ is not exported from the libunistring shared library. For now,
+ MSVC is the only platform where this is a problem. */
+#if !defined _MSC_VER
+
uc_general_category_t ct = _UC_CATEGORY_NONE;
unsigned int c;
for (c = 0; c < 0x110000; c++)
ASSERT (!uc_is_general_category (c, ct));
+#endif
+
return 0;
}