blob: 68845f612d9b41ab29a2eb0ec719275ff5ad6556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
On icu-61 built failures look like:
include/beecrypt/c++/lang/String.h:76:17:
error: ‘UnicodeString’ does not name a type
ICU-61 moved all names into icu:: space.
The fix is to add 'using icu::<symbol>'.
Reported-by: Juergen Rose
Bug: https://bugs.gentoo.org/666542
--- a/c++/beeyond/DHIESParameterSpec.cxx
+++ b/c++/beeyond/DHIESParameterSpec.cxx
@@ -36,2 +36,4 @@ using std::auto_ptr;
#include <unicode/numfmt.h>
+using icu::RegexPattern;
+using icu::RegexMatcher;
--- a/c++/crypto/Cipher.cxx
+++ b/c++/crypto/Cipher.cxx
@@ -30,2 +30,4 @@ using beecrypt::security::Security;
#include <unicode/ustream.h>
+using icu::RegexMatcher;
+using icu::RegexPattern;
--- a/c++/lang/Integer.cxx
+++ b/c++/lang/Integer.cxx
@@ -29,2 +29,5 @@ using beecrypt::lang::String;
#include <unicode/numfmt.h>
+using icu::Formattable;
+using icu::NumberFormat;
+
--- a/c++/lang/Long.cxx
+++ b/c++/lang/Long.cxx
@@ -29,2 +29,4 @@ using beecrypt::lang::String;
#include <unicode/numfmt.h>
+using icu::Formattable;
+using icu::NumberFormat;
--- a/c++/util/Date.cxx
+++ b/c++/util/Date.cxx
@@ -28,2 +28,3 @@
#include <unicode/datefmt.h>
+using icu::DateFormat;
--- a/include/beecrypt/c++/lang/String.h
+++ b/include/beecrypt/c++/lang/String.h
@@ -41,2 +41,3 @@ using beecrypt::bytearray;
#include <unicode/unistr.h>
+using icu::UnicodeString;
|