Boost logo

Boost-Build :

From: szhou98 (szhou98_at_[hidden])
Date: 2004-04-29 18:49:03


I used bjam and boost distribution to build fstream_test executable
with no problems. But, if I build fstream_test.cpp menually from
command line, the compiler generates an error C2504 that complains
about the undefined base class to the basic_filebuf<> class when
parsing boost_1_31_0\boost\filesystem\fstream.hpp file.

Since the bjam build has no glitches at all, I assume it has
something to do with compiler option switch values, or some macro
definitions that I didn't set right. I went through allyourbase.jam,
boost_base.jam, and msvc-tools.jam files to look for clues with no

Is there anyone in boost build community able to shed some light
on the cause of that compilation error, and why bjam build was

I am using VC++ 6 on Windows XP.

The command line that I used is as follows:

cl -c -GX -Od -Ic:\devtools\boost_1_31_0 fstream_test.cpp



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at