--- ../../dev3/gift/libMRML/cc/CAttributeList.cc 2006-02-28 07:48:22.000000000 -0600 +++ libMRML/cc/CAttributeList.cc 2006-11-18 12:14:09.000000000 -0600 @@ -27,6 +27,8 @@ #include "libMRML/include/CMutex.h" #include #include +/* for __WORDSIZE */ +#include extern CMutex* gMutex; CAttributeList::CAttributeList(const char * const * const inAttributeList){ @@ -94,7 +96,11 @@ if(strcmp(i->second.first, i->second.second)){ - cout << "DELETING FAILED" << flush << int(i->second.second) << flush << i->second.first << i->second.second << endl; +#if __WORDSIZE==64 /* this should tell us what size a float* is, so that we can dump it properly.. */ + cout << "DELETING FAILED" << flush << int64_t(i->second.second) << flush << i->second.first << i->second.second << endl; +#else + cout << "DELETING FAILED" << flush << int32_t(i->second.second) << flush << i->second.first << i->second.second << endl; +#endif assert(0); } delete[] i->second.first;