K 10 svn:author V 6 jbeich K 8 svn:date V 27 2018-04-04T10:11:13.864217Z K 7 svn:log V 6612 games/0ad: unbreak with ICU 61 In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:89:2: error: unknown type name 'Locale'; did you mean 'icu::Locale'? Locale GetCurrentLocale() const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:133:24: error: unknown type name 'Locale'; did you mean 'icu::Locale'? bool SaveLocale(const Locale& locale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:235:54: error: unknown type name 'Locale'; did you mean 'icu::Locale'? std::wstring GetFallbackToAvailableDictLocale(const Locale& locale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:283:66: error: unknown type name 'Locale'; did you mean 'icu::Locale'? void GetDictionaryLocale(const std::string& configLocaleString, Locale& outLocale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:314:28: error: unknown type name 'Locale'; did you mean 'icu::Locale'? bool ValidateLocale(const Locale& locale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:411:98: error: unknown type name 'Locale'; did you mean 'icu::Locale'? UDate ParseDateTime(const std::string& dateTimeString, const std::string& dateTimeFormat, const Locale& locale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:427:85: error: use of undeclared identifier 'DateFormat'; did you mean 'icu::DateFormat'? std::string LocalizeDateTime(const UDate dateTime, const DateTimeType& type, const DateFormat::EStyle& style) const; ^~~~~~~~~~ icu::DateFormat /usr/local/include/unicode/smpdtfmt.h:46:7: note: 'icu::DateFormat' declared here class DateFormat; ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:508:2: error: unknown type name 'Locale'; did you mean 'icu::Locale'? Locale currentLocale; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:519:14: error: use of undeclared identifier 'Locale' std::vector availableLocales; ^ ../../../source/i18n/L10n.h:519:21: error: expected expression std::vector availableLocales; ^ ../../../source/i18n/L10n.h:590:2: error: unknown type name 'DateFormat'; did you mean 'UDateFormat'? DateFormat* CreateDateTimeInstance(const DateTimeType& type, const DateFormat::EStyle& style, const Locale& locale) const; ^~~~~~~~~~ UDateFormat /usr/local/include/unicode/udat.h:153:15: note: 'UDateFormat' declared here typedef void* UDateFormat; ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:590:69: error: use of undeclared identifier 'DateFormat'; did you mean 'icu::DateFormat'? DateFormat* CreateDateTimeInstance(const DateTimeType& type, const DateFormat::EStyle& style, const Locale& locale) const; ^~~~~~~~~~ icu::DateFormat /usr/local/include/unicode/smpdtfmt.h:46:7: note: 'icu::DateFormat' declared here class DateFormat; ^ In file included from ../../../source/lobby/XmppClient.cpp:26: ../../../source/i18n/L10n.h:590:102: error: unknown type name 'Locale'; did you mean 'icu::Locale'? DateFormat* CreateDateTimeInstance(const DateTimeType& type, const DateFormat::EStyle& style, const Locale& locale) const; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ ../../../source/lobby/XmppClient.cpp:948:81: error: use of undeclared identifier 'Locale'; did you mean 'icu::Locale'? return g_L10n.ParseDateTime(msg.when()->stamp().to_string(), "Y-M-d'T'H:m:sZ", Locale::getUS()) / 1000.0; ^~~~~~ icu::Locale /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here class Locale; // unicode/locid.h ^ https://ssl.icu-project.org/trac/changeset/40705 PR: 227042 Reported by: antoine (via exp-run) END