This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: attribute "unpadded"
On Wed, Aug 28, 2002 at 01:00:14AM +1000, Fergus Henderson wrote:
> But for users of GCC who need to
> define or use structures that are layout-compatible with particular
> C++ structures, I think it would make more sense to just write C++ code
> that uses the original C++ definitions of these structures.
Or, instead, make certain that the data structures that
are shared between C and C++ are POD types, since POD
types do not have this "unpadded" feature about them.
r~