Changeset 1257 for trunk/docsrc/ctod.dd
- Timestamp:
- 08/31/09 06:04:53 (3 years ago)
- Files:
-
- trunk/docsrc/ctod.dd (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docsrc/ctod.dd
r1242 r1257 670 670 ) 671 671 672 But #pragmas are nonportable both in theory and in practice from672 But $(TT #pragma)s are nonportable both in theory and in practice from 673 673 compiler to compiler. 674 674 675 675 <h4>The D Way</h4> 676 676 677 Clearly, since much of the point to setting alignment is for 678 portability of data, a portable means of expressing it is necessary. 677 $(P D has a syntax for setting the alignment that is common 678 to all D compilers. The actual alignment done is compatible 679 with the companion C compiler's alignment, for ABI compatibility. 680 To match a particular layout across architectures, use 681 $(TT align(1)) and manually specify it. 682 ) 679 683 680 684 ----------------------------
