This is a prc-tools compiler bug, for which there are numerous references in the archive of this group. See http://sourceforge.net/tracker/index.php?func=detail&aid=221845&group_id=4429&atid=104429 for more info.
Thanks... Dave "Hildinger, Robert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > "Hildinger, Robert" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > "Gregg Woodcock" <[EMAIL PROTECTED]> wrote in message > > > news:[EMAIL PROTECTED] > > > This must be a compiler bug. A "Char" is typedef'd to be equivalent to a > > > "char" in PalmTypes.h, so naturally you would expect there to be no > > > difference in the code. I compiled your code using CW9.2 and not > > > surprisingly it produced code that was exactly equivalent on a binary > > level. > > Actually, perhaps compiler 'bug' is not what's going on here, but rather a > configuration issue of cygwin/GCC. > > > Is there a way to test from what file the type definition for "Char" is > > being resolved? > > Perhaps I am picking up some other typedef? > > I suspect that it is what is happening, but I don't really know very much > about the cygwin/GCC development environment, so I'm afraid I can't answer > that. > > > > > Have you tried looking at the disassembly of the two individual > functions > > to > > > see what the compiler thingks is going on? I'm sure that will reveal > some > > > discrepancy between the two pieces of code. > > > > No, but I'd rather avoid that unless this turns out to be "just me"... > > Unfortunately, looking at the disassembly is the only sure way to figure out > what's going on. If you want you can send me the disassembly dumps through > Nortel corporate email and I'll see if I can spot the problem... > > > > BTW: Is this the same Gregg Woodcock who works for Nortel? > > > > One and the same! > > Good to see a fellow Nortel slave^h^h^h^h^hemployee on this forum! > > -Robert Hildinger > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
