RE: Getting the byte offset of a member variable pointer type

2005-06-22 Thread Dave Korn
Original Message >From: Thomas Immich >Sent: 22 June 2005 14:49 > I need to get the exact byte offset of a member variable inside a > class in order to map a member variable pointer type to a concrete > member variable instance. This worked fine until I ported my code to > GCC 4.0, which i

Getting the byte offset of a member variable pointer type

2005-06-22 Thread Thomas Immich
Hi all, I need to get the exact byte offset of a member variable inside a class in order to map a member variable pointer type to a concrete member variable instance. This worked fine until I ported my code to GCC 4.0, which is much stricter regarding type casts. Unfortunately I cannot us