Using __attribute((packed))__ on picky architectures

Baurzhan Ismagulov
Sun Jan 18 16:03:00 GMT 2009

On Sat, Jan 17, 2009 at 05:59:30PM +0000, Andrew Haley wrote:
> Standardizing memory layout in a way that would be meaningful across
> the wide range of machines that C supports would be difficult, and I
> suspect the result wouldn't please anyone.
> The language that the gcc uses to define 'packed' is much too weak
> to be used in a standard.  I suspect if it were firmed up enough to
> be submitted a lot of problems would become apparent.

I see, thank you!

With kind regards,
Baurzhan Ismagulov

More information about the Gcc-help mailing list