Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 1995 23:24:41 -0500
From:      mtaylor@gateway.cybernet.com (Mark J. Taylor)
To:        hackers@FreeBSD.org
Subject:   disable structure packing with gcc?
Message-ID:  <v01510108ab521964e060@[192.245.33.12]>

next in thread | raw e-mail | index | archive | help

I'm writing a byte-swapping routine for structures in gcc 2.4.5 (FreeBSD
1.1.5.1).  gcc insists on packing structures, and I do not fully understand
the packing method it uses.

How can I turn off structure packing (to get to single byte alignment)?


-Mark Taylor
mtaylor@cybernet.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01510108ab521964e060>