John Marshal Writes:
> Since StrPrintF isn't part of MSL, but instead is set in concrete in your
> ROM, there's no way to get it to expect 32 bit ints. Explicitly casting
> to any of char, short, Int8, Int16 won't help because all these will get
> implicitly promoted to int due to the default argument promotions caused
> by `...'.
John, nothing personal, but I love when people rationalize bugs in software.
When the Compiler offers this option that means it should work properly when
making calls to the kernel. Let's not use the implicit conversion rules as an
excuse to this end , and here is the reply I got from Metroworks
HEY!
We are aware of this problem and are working on a fix. Our Palm lead
was for several days sick this week, so we are a bit behind. We apologize
for the delay.
Thanks for the bug report!
We'll let you know as soon as we have a fix.
Scott Mauer
Embedded 68k/Palm QA
Metrowerks
However, I must admit your struct trick was clever way of getting around the
problem. I kind of found another way but yours is more elegent (readable).
Thanks again
Arman "Just a Software Guy" Nikzad
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html