Hi Jonathan: --- On Fri, Jan 13, 2012 at 3:32 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: | What do you mean by retrieve? Get a list of member names? Names and types? | Offsets? At runtime? At compile time? \-- Yes, for names, types and offsets at compile time. Sorry to have not been specific when asking the question. --- | Again, I'm not sure what you mean. Do you mean compute a checksum of | the values, or the layout, or something else? \-- Checksum of the individual values during compile time. The genksyms tool in the Linux kernel sources provides a CRC checksum of exported functions. I would like to know if something similar can be done for a structure and its members. --- | You can retrieve information on object layout from DWARF debugging info. \-- I will look into this. Thanks for your reply, SK -- Shakthi Kannan http://www.shakthimaan.com