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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kalyani Mallipe
    New Member
    • Oct 2010
    • 1

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

    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_ARGU MENT_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.
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    Can you post the prototype/signature of the 'format' method?

    Comment

    Working...