BruceWho wrote:
Quote:
I downloaded boost1.35.0 and built it with following command:
>
bjam --toolset=msvc-7.1 --variant=release --threading=multi --
link=shared --with-system stage
>
and it failed to compile, error message is:
>
>
E:\software\development\boost_1_35_0\boost_1_35_0> bjam --
toolset=msvc-7.1 --variant=release --threading=multi --link=shared --
with-system stage
...found 72 targets...
...updating 6 targets...
compile-c-c++
bin.v2\libs\system\build\msvc-7.1\release\threading-multi
\error_code.obj
error_code.cpp
D:\program\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\Include
\WinNT.h(477) : error C2467: illegal declaration of anonymous 'struct'
[SNIP]
That's a MSVC problem, one of the project settings, I haven't figured it out
yet. Same source code with different project settings will compile without
any warnings. Since it's microsoft speicfic try
microsoft.public.vc.language
hth
--
Jim Langston
tazmaster@rocketmail.com