This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using __attribute((packed))__ on picky architectures
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
http://www.kz-easy.com/