By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,997 Members | 2,841 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,997 IT Pros & Developers. It's quick & easy.

ICU Message::format failing when libraries built in non debug mode on solaris

P: 1
Hi All,
My program is failing at MessageFormat::format call when libraries are built in release mode. Same is passing when libraries are built in debug (-g) mode.

The format is calling is giving the U_IILEGALA_ARGUMENT_ERROR.

Here is the piece of code:

UErrorCode status = U_ZERO_ERROR;
count = 1;
UnicodeString msg = "Number of rows processed {0}";
Formattable args = new Formattable[count];
UnicodeString outputMsg;

MessageFormat::format(msg, args, count,outputMsg,status);

Here args has value as 10.

Can any one help me in understanding why this is failing on non debug mode only on solaris 10 ? The same code passes on AIX.
Oct 3 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 542
Can you post the prototype/signature of the 'format' method?
Oct 7 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.