RFC: attribute "unpadded"
Richard Henderson
rth@redhat.com
Thu Aug 29 15:12:00 GMT 2002
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~
More information about the Gcc
mailing list