Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-06-14 11:33:17

"Jason Heyes" <jasonheyes_at_[hidden]> wrote in message
>I receive errors when I try to compile fstream_test.cpp using Microsoft
> Visual C++ 6.0. The first error I receive is this:
> fstream_test.cpp
> c:\boost\include\boost-1_32\boost\filesystem\fstream.hpp(29): error C2504:
> 'basic_filebuf<char,char_traits<char> >': base class undefined
> c:\projects\examples\fstream_test.cpp(27): see reference to class
> template instantiation
> 'boost::filesystem::basic_filebuf<char,char_traits<char> >' being compiled

That test is passing with VC++ 6.0 on several regression tester's machines,
so there must be a bit more to the story than just the usual VC++ 6.0 woes.
Do you have all the service packs installed?

> Is there a workaround for this? Thanks.

One workaround is to upgrade to a more modern version of that compiler.
There is a free version of the 7.1 compiler available from the Microsoft web
site. Beta 2 of VC++ 8.0 seems pretty solid too.


Boost list run by bdawes at, gregod at, cpdaniel at, john at