Patches: compiler warnings and test programs
![](https://secure.gravatar.com/avatar/838b591b09fc19aae77b84c63ddbe633.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/cd3efaddc096300838f8d0595897cce9.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/838b591b09fc19aae77b84c63ddbe633.jpg?s=120&d=mm&r=g)
"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