This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: structure members of packed structures
- From: Joe Buck <jbuck at synopsys dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Nathan Sidwell <nathan at codesourcery dot com>, gcc at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, dalej at apple dot com
- Date: Tue, 15 Jul 2003 09:37:17 -0700
- Subject: Re: structure members of packed structures
- References: <3F140AEC.3050003@codesourcery.com> <Pine.BSF.4.44.0307151017551.4610-100000@dair.pair.com>
On Tue, Jul 15, 2003 at 10:24:31AM -0400, Hans-Peter Nilsson wrote:
> On Tue, 15 Jul 2003, Nathan Sidwell wrote:
> > In C++, what about non-pods? Here is the problematic case,
>
> For all *I* care, you can completely outlaw attribute-packed on
> non-pods. (I just *guess* that the same goes for other users.)
I think that this is the best solution, at least until someone can
define rigorous semantics for all cases (and even then it is not
worth it).