| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | XMSG size (Re^3: dates) |
Wed 2002-11-20 13:33, Stas Degteff (2:5080/102) wrote to andrew clarke:
ac>>>> #define XMSG_SIZE (94 + XMSG_FROM_SIZE + XMSG_TO_SIZE +
ac>>>> XMSG_SUBJ_SIZE)
>>> This define is incorrect. For XMSG size must be use sizeof(XMSG)...
ac>> Then why is it there?
> 'sizeof(XMSG)' is compiler-independed, '#pragma pack' is not.
That was why the #pragma packs were surrounded by #ifdefs in SMAPI 1.4.
(Although admittedly they unnecessarily encompassed more than just the structs.)
ac>> Do you understand the problem I'm talking about AT ALL?
> I understand this problem. But i can't be resolve it for all husky
> modules and all developers :)
The problem should at least be fixed for all supported compilers. This is
not difficult.
-- mail{at}ozzmosis.com
--- Msged/NT 6.1.1
* Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/267)SEEN-BY: 633/270 @PATH: 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™.