TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Jeff Patten
date: 1996-01-06 00:08:00
subject: read from cd rom

MB> Watcom C++ definitely aligns by default on doubleword
 MB> boundaries.  I checked the documentation and you are right
 MB> that it claims to align by default on byte boundaries, but
 MB> this seems to be wrong when checked against generated code. 

   Could it be that structures by default align on byte boundaries, and code
always aligns on doubleword boundaries, and "pack" options only affect
structure packing?  That makes sense to me (Danger!! Danger!! ;), and seems to
fit both observations and documentation.

Jeff

--- timEd/2 1.01
* Origin: Quibbler's Say (1:2410/242)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 291/741 709 292/850 876 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.