$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-08-08 12:43:30
On Aug 8, 2004, at 3:21 AM, Maxim Yegorushkin wrote:
> I've just found out that the following code won't compile on MSVC7.1:
>
> struct some
> {
> struct __declspec(align(32)) align {};
> align a;
> };
>
> void f(some s); // error C2719: 's': formal parameter with
> __declspec(align('32')) won't be aligned
>
> int main()
> {
> some s;
> f(s);
> }
>
> Was that the reason for not adding __declspec(align(x)) support for
> MSVC?
It wasn't added because nobody has added it. If it works, we can add
support for it. Would you like to come up with a patch?
Doug