|
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
#else
#define BOOST_SPIRIT_USING_STD using namespace std
#endif
Which works with or without stl-port. Tested!
Cheers,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk