|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-01-03 15:11:33
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:
>
> I tested it with BCB 6 patch 4. It works for multiple inheritance too.
>
> AFAIK using <pophack1.h> requires patch #4 installed, with original BCB
> version it screw up data alignement. (The patch is freely downloadable.)
> This works without patch #4:
>
> ________________________
>
> #if (defined __BORLANDC__) && (__BORLANDC__ <= 0x564)
> # pragma option push -Ve // Enable EBO
> # pragma pack(push, 1)
> #endif
> ...
> code
> ...
> #if (defined __BORLANDC__) && (__BORLANDC__ <= 0x564)
> # pragma pack(pop)
> # pragma option pop
> #endif
> ________________________
FYI, I am waiting for all the revisions to settle down. When someone
posts a new proposed patch that doesn't break Kylix (confirmed), I'll
apply it.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk