P
programmer_pete
I am trying to switch to STLPort 4.6.2 from the MSVC STL.
My project uses Spirit 1.6.0 and MSVC++ 6.
I have configured STLPort as follows:
#define _STLP_NO_OWN_IOSTREAMS 1
#define _STLP_USE_OWN_NAMESPACE 1
#define _STLP_REDEFINE_STD 1
In other words, STLPort is configured to used MSVC's iostreams.
I am running into a problem with BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE
I get the error:
c:\boost\boost\spirit\core\primitives\impl\primitives.ipp(127) : error
C2059: syntax error : '<'
---- excerpt from primitives.ipp lines 125-132 ----
template <typename CharT>
inline typename
-> BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE::char_traits<CharT>::int_type
to_int_type(CharT c)
{
return BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE
::char_traits<CharT>::to_int_type(c);
}
---- end excerpt ----
Does anyone have any advice on how to fix this?
By the way, I tried adding warning 4103 to the disabled errors in
_msvc_warnings_off.h (STLPort), but I still get a bunch of them. They
do go away if I wack pragma warning( pop ) from epilog.h, but that
defeats the purpose....
Thanks, "Pete"
My project uses Spirit 1.6.0 and MSVC++ 6.
I have configured STLPort as follows:
#define _STLP_NO_OWN_IOSTREAMS 1
#define _STLP_USE_OWN_NAMESPACE 1
#define _STLP_REDEFINE_STD 1
In other words, STLPort is configured to used MSVC's iostreams.
I am running into a problem with BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE
I get the error:
c:\boost\boost\spirit\core\primitives\impl\primitives.ipp(127) : error
C2059: syntax error : '<'
---- excerpt from primitives.ipp lines 125-132 ----
template <typename CharT>
inline typename
-> BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE::char_traits<CharT>::int_type
to_int_type(CharT c)
{
return BOOST_SPIRIT_CHAR_TRAITS_NAMESPACE
::char_traits<CharT>::to_int_type(c);
}
---- end excerpt ----
Does anyone have any advice on how to fix this?
By the way, I tried adding warning 4103 to the disabled errors in
_msvc_warnings_off.h (STLPort), but I still get a bunch of them. They
do go away if I wack pragma warning( pop ) from epilog.h, but that
defeats the purpose....
Thanks, "Pete"