[Gdal-dev] Structure member alignment suggestion
Ray Gardener
rayg at daylongraphics.com
Tue Jan 31 17:13:16 EST 2006
> The appropriate place would likely be:
> http://www.gdal.org/gdal_building.html
>
> But I am hesitant to complicate this page with structure packing issues,
> especially since I'm not sure what to say.
Oh, something like "When building GDAL, be sure to use the same
structure member alignment that your application uses, otherwise the
layout and/or size of some GDAL structures may differ between the
library's and the application's perspective, causing subtle runtime
errors."
Ray
More information about the Gdal-dev
mailing list