[SDL] Anyone want to help?
Paulus Esterhazy
pesterhazy at gmx.net
Thu Sep 17 13:49:00 PDT 1998
>> (Is it true that MSVC doesn't have an equivalent
>> for the __attribute(pack) directive, instead you have to surround stuff
with
>> #pragma pack(1) #pragma pack()?).
>
>You can specify the alignment in the command line. I think using /Zp1,
>/Zp4, etc... I don't think this is well documented. But just throw
>whatever alignment you need in the makefile and you should be all set.
Well I don't think this is a good solution because not alligning the members
to dword borders
makes the code (much) slower. You'll have to #pragma (8) ... #pragma ()
around the SDL structures
anyway.
Paulus Esterhazy
More information about the SDL
mailing list