/Sp Compiler Option

Syntax: Default:
/Sp[1|2|4|8|16] /Sp8
/Sp4

Use /Sp to specify alignment or packing of data items within structures and unions.

By default, structures and unions are aligned on 4-byte boundaries. For best performance, use /Sp8, unless the target module must be compatible with code generated by older OS/2 compilers.

By default, structures and unions are aligned on 8-byte boundaries.

/Sp is equivalent to /Sp1.



Summary of Compiler Options
Format of Aligned Structures