Boost logo

Boost :

From: Yakov Bachmutsky (yakov_at_[hidden])
Date: 2002-12-26 12:08:13


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

----------------------------------------------------------------------------
---- Yakov Bachmutsky yakov_at_[hidden] | yakov_b_at_[hidden]
----- Original Message -----
From: "David Abrahams" <dave_at_[hidden]>
To: "boost" <boost_at_[hidden]>; "Peter Dimov" <pdimov_at_[hidden]>
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
> dave_at_[hidden] * http://www.boost-consulting.com
> Boost support, enhancements, training, and commercial distribution
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk