I believe this is a bug in msvc.
Add some extra spaces to seperate the <, > and T
HTH,
Yakov

----------------------------------------------------------------------------
---- Yakov Bachmutsky [EMAIL PROTECTED] | [EMAIL PROTECTED]
----- Original Message -----
From: "David Abrahams" <[EMAIL PROTECTED]>
To: "boost" <[EMAIL PROTECTED]>; "Peter Dimov" <[EMAIL PROTECTED]>
Sent: Thursday, December 26, 2002 1:32 AM
Subject: [boost] shared_ptr issue w/msvc-stlport?


>
> Hi,
>
> I'm getting the following error when I try to compile
> libs/iterator/test/indirect_iterator_test in the sandbox with vc6 and
> STLPort:
>
> c:\boost\boost/shared_ptr.hpp(387) : error C2059: syntax error : '<'
> c:\boost\boost/shared_ptr.hpp(409) : error C2065: 'T' : undeclared
identifier
> c:\boost\boost/shared_ptr.hpp(410) : error C2143: syntax error : missing
';' before '{'
> c:\boost\boost/shared_ptr.hpp(410) : error C2447: missing function header
(old-style formal list?)
> C:\tools\msvc6\VC98\INCLUDE\../include/string(16) : error C2954: template
definitions cannot nest
>
> Is there a missing #include, or is it a more heinous VC6 issue?
>
> --
>                        David Abrahams
>    [EMAIL PROTECTED] * http://www.boost-consulting.com
> Boost support, enhancements, training, and commercial distribution
>
>

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to