| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | structure packing |
> The EMX port of GCC supports structure alignment via the > #pragma pack directive (see Section 2.4 of > /emx/doc/emxgnu.doc for details). I don't know about > Linux; `man gcc' doesn't help. That's because the FSF favour info. Try info gcc. On many platforms including x86 you can use the gcc __attribute__ extension to pack structs (or, strictly, individual structure members). EMX implemented the #pragma for (semi-)compatibility with other DOS/OS2 compilers. __attribute__ is ugly, though. Consider it a discouragement of use. --- MaltEd/2 1.0.b6* Origin: Unique Computing Pty Limited (3:632/348) SEEN-BY: 633/267 270 @PATH: 632/348 360 50/99 635/728 633/267 |
|
| 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™.