On Apr 13, 2006, at 8:52 AM, Ian Rogers wrote:
Hi,
the attached patch reduces the number of warnings emitted when
compiling classpath with jikes (in particular as part of the Jikes
RVM build process). The warnings were:
1) >>> by a negative amount - this was in the code to achieve a
rotate. To make the code readable the patch adds a rotate method
which is called instead. As the rotate method is private it should
be an excellent candidate for inlining and not impact on performance.
I'd suggest (besides complaining to the jikes maintainers
(crickets...) that this warning is useless and should be removed)
instead just replacing `-n' with `(32-n)'.
Of course, I usually just compile with `JIKES="jikes -nowarn"'
anyway, because the warnings jikes started emitting are often useless.