I got mixed up with Yahoo! Mail, so below is a new attempt at my
thread:
--FIRST MESSAGE--
In icu/unxsols4.pro/misc/build/icu/source/i18n/ucol_bld.cpp, there is a
while loop in ucol_doCE() that, for me, will never exit, even when the
condition is false! When I re-write the loop, the problem goes away.
This problem occurs while running dmake, when a program called genrb
invokes ucol_doCE().
Original code, never exits:
while(2*CEi<noOfBytes[0] || CEi<noOfBytes[1] || CEi<noOfBytes[2]) {
...
}
New code, works as expected:
while( 1 ) {
if( !( 2*CEi<noOfBytes[0] || CEi<noOfBytes[1] || CEi<noOfBytes[2] )
)
break;
...
}
When I tried re-writing the while loop as a for loop, the problem
persisted--I had to explicity break the loop as in the code above.
Logically, both should be identical, so does this look like it might be
a bug in Sun Studio 10?
Platform details:
# uname -a
SunOS whizzer 5.10 s10_72 sun4u sparc SUNW,Ultra-30 Solaris
# cc -V
cc: Sun C 5.7 2005/01/07
Sincerely,
Matt Prazak
--END FIRST MESSAGE--
--SUBSEQUENT CORRECTION--
>
> Please create new threads for new problems, not hijack unrelated
> threads....
>
> Gr��e/Regards,
>
> Ren�
>
I thought I did create a new thread...but now that I think of it, I
used another message as a template, which probably confused threaded
e-mail readers. If that's the case, I apologize--Yahoo! Mail doesn't
make it obvious, for lack of threaded message support.
My original request for opinion stands, however, as I started over with
680_m74 and still get the same errors. Obviously, the build must work
for other platforms, and Solaris Express 11/04 and Studio 10 are a new
platform. I wanted to ask, here, before logging an official issue over
the matter, in case any of Sun's OO.org developers are present. I
still feel like I might be missing something obvious, and in that case
I'd rather be shown to be a moron (again) in this mailing list instead
of tying up the issue tracker.
Matt
--END SUBSEQUENT CORRECTION--
__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]