David Kågedal wrote:
Raphael Collet <[EMAIL PROTECTED]> writes:Dear users, We are proud to announce the new release of Mozart, namely Mozart 1.4.0 The main change with Mozart 1.3.2 is the new implementation of the distribution layer, a per-entity configurable distribution behavior, and a complete redesign of the Fault module. This release also contain a bunch of bug fixes.The dss library casts pointers to int in many placespos += sprintf((buf+pos),"%d|%x ", a_fields[i].a_ft, reinterpret_cast<int>(a_fields[i].a_arg)); int i = reinterpret_cast<int>(m_popVal()); This is a horrible thing to do, and gcc (at least version 4.1.2 which I happened to use) rightfully refuses to compile such code. What was the compiler that anyone managed to compile this with?
I agree with you, it's horrible. This is the kind of code heritage we have to work with. I personally use gcc 4.0.1 (darwin) for compiling.
Cheers, raph _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
