i experience some problems with the -align option
on IA32 with icc 7.1.
i have to make an apache2 module using lib's from my project (compiled with -align), which won't work because for example the request struct from the apache API differs for my module which is icc compiled.
altough i specified structure packing explicitly with #pragma pack for each structure, the memory layout of the struct's is differs depending on the presence of the -align switch.
the doc's on -align are sparse.
what does -align do exaclty?
how can i ensure proper layout for structure regardless of the laign switch?
anyone ever compiled a apache module sucessfully with icc?