Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-07-25 22:27:35

Gennadiy Rozental wrote:

>>FYI, latest changes to the aforementioned
>>file seem to break things for msvc-stlport,
>>as shown for instance at:
> Dave tried to use "using namespace std" solution. It's already fixed in cvs.

BTW, you need to special case for msvc-stlport to avoid ambiguity.
Here's how I do it:

#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
#define BOOST_SPIRIT_USING_STD using namespace std

Which works with or without stl-port. Tested!


Joel de Guzman

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