Originally reported here:
https://bugs.gentoo.org/show_bug.cgi?id=602362
./../third_party/WebKit/Source/platform/text/CharacterEmoji.cpp: In function ‘void blink::applyPatternAndFreeze(icu::UnicodeSet*, const char*)’:
../../third_party/WebKit/Source/platform/text/CharacterEmoji.cpp:190:72: error: invalid initialization of non-const reference of type ‘UErrorCode&’ from an rvalue of type ‘UErrorCode’
unicodeSet->applyPattern(icu::UnicodeString(pattern, -1, US_INV), err);
^
In file included from ../../third_party/WebKit/Source/platform/text/CharacterEmoji.cpp:7:0:
../../third_party/WebKit/Source/platform/text/ICUError.h:23:3: note: after user-defined conversion: blink::ICUError::operator UErrorCode() const
operator UErrorCode() const { return m_error; }
^
In file included from ../../third_party/WebKit/Source/platform/text/CharacterEmoji.cpp:11:0:
/usr/include/unicode/uniset.h:618:17: note: initializing argument 2 of ‘icu::UnicodeSet& icu::UnicodeSet::applyPattern(const icu::UnicodeString&, UErrorCode&)’
UnicodeSet& applyPattern(const UnicodeString& pattern,
^
Comment 1 by bugdroid1@chromium.org
, Jan 2 2017