>> > if (e.layer==NULL) {
>> > os << " layer: NULL ";
>> > } else {
>> > os << " layer: " << e.layer->getName().latin1() << " ";
>> > // os << " layer address: " << (int)(e.layer) << " ";
>> > }
>> > ##############
I haven't seen the rest of the code, and therefore probably shouldn't
comment, but you might be able to s/int//'. C++ *should* write
pointers in hex via streams.
os << "layer address: " << e.layer << " ";
P.S. Are you on a 64-bit machine?
--
/me
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page