$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-11-25 13:27:20
Larry Smith wrote:
> I don't understand why the lib should care about the
> data alignment of the struct's (packed versus unpacked).
The library doesn't; your compiler does, and it's wrong in this case.
char[8] requires no padding or alignment, so it should bind to char(&)[8] in
either mode. You might be able to use a reinterpret_cast to silence the
compiler.