> Greetings,
> Which option in the compilation, forces compiler to compile the driver on a
> Byte Alignment rather than default word alignment ?
> Thanks in advance.
> - Vipul
You can do this a few different ways so pick the one that fits your needs best.
-
If specifying alignment on a per structure basis in your header file
use: #paragma pack(n) where n=1, 2, 4, 8, or 16. -
Use the /Zp command line argument followed by a packing size: /Zp1,
/Zp2, /Zp4, /Zp8, or /Zp16.
NOTE: The default /Zp packing size if 8.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com