Patches: compiler warnings and test programs

Hi! I've gone and got myself an amd64, and now chuck v2 doesn't seem to be 64-bit clean ... Here's a small first step in an attempt to fix that: First, a tiny patch to allow for the new output from <<<foo>>> in the test programs (which now include the type of foo). Or should the old output be restored instead? Then, a larger patch to fix miscellaneous compiler warnings (mainly printf format strings and order of member initialisers). I've yet ignored warnings about unused variables ... -- Rasmus Kaj --+-- rasmus@kaj.se --+-- http://www.stacken.kth.se/~kaj/ To understand recursion, we must first understand recursion

Greetings!
Thanks for the patches. We have applied the larger one and also dealt
with what we could find of the rest of the compiler warnings (-Wall).
If you have v2 checked out, please update, make clean, and give it a try
and see if things work, including on 64-bit systems. Please email me any
errors or warnings.
Thank you again for the patches. We haven't applied the first one yet
because we haven't finalized what <<<foo>>> should output exactly, or if
there will be variants of <<< >>>.
Presently, <<<foo>>> prints the value of foo and its type. <<
Hi! I've gone and got myself an amd64, and now chuck v2 doesn't seem to be 64-bit clean ... Here's a small first step in an attempt to fix that:
First, a tiny patch to allow for the new output from <<<foo>>> in the test programs (which now include the type of foo). Or should the old output be restored instead?
Then, a larger patch to fix miscellaneous compiler warnings (mainly printf format strings and order of member initialisers). I've yet ignored warnings about unused variables ...
-- Rasmus Kaj --+-- rasmus@kaj.se --+-- http://www.stacken.kth.se/~kaj/ To understand recursion, we must first understand recursion

"GW" == Ge Wang
writes:
GW> Greetings!
Hi!
GW> Thanks for the patches. We have applied the larger one and also dealt
GW> with what we could find of the rest of the compiler warnings
GW> (-Wall).
Great news!
GW> If you have v2 checked out, please update, make clean, and give
GW> it a try and see if things work, including on 64-bit systems.
GW> Please email me any errors or warnings.
I certainly will. But for the moment I'm on vacation. I can read and
write a little bit of mail, but won't be able to test it the coming
week. I will take a look at it the week after that, though.
GW> Thank you again for the patches. We haven't applied the first one yet
GW> because we haven't finalized what <<<foo>>> should output exactly, or
GW> if there will be variants of <<< >>>.
GW> Presently, <<<foo>>> prints the value of foo and its type.
GW> <<
participants (2)
-
Ge Wang
-
Rasmus Kaj