Make sure std lib is invoked to catch shared lib miss-match.

This commit is contained in:
jzmaddock
2015-10-18 18:11:49 +01:00
parent 6e80ff8c4c
commit 39fda8e55b

View File

@ -23,6 +23,7 @@ int main()
{
UErrorCode err = U_ZERO_ERROR;
UChar32 c = ::u_charFromName(U_UNICODE_CHAR_NAME, "GREEK SMALL LETTER ALPHA", &err);
std::cout << (int)c << std::endl;
if(err) return err;
U_NAMESPACE_QUALIFIER Locale l;
boost::scoped_ptr<U_NAMESPACE_QUALIFIER Collator> p_col(U_NAMESPACE_QUALIFIER Collator::createInstance(l, err));