Leopold Toetsch <[EMAIL PROTECTED]> wrote: > gen_struct --force-align file.imc
It seems that this part finally has to consult the C compiler, i.e. generate a test program and parse the offsetof() values of struct items. The problem is nested structs, s. classes/unmanagedstruct.pmc for some comments and the test program in another f'up in this thread. $gcc-source/stor-layout.c seems to deal with that, but its a bit unreadable :) leo