I have been trying to compile the following code with VC 7.1 ( which compiled fine with VC 6 ) with no luck.

 

      std::string             m_rBuffer;

      boost::regex            m_rStartExp;

 

      string::const_iterator rRawDataBegin = m_rBuffer.begin();

      string::const_iterator rRawDataEnd = m_rBuffer.end();

 

      boost::cmatch rStartMessage;

 

      unsigned int flags = boost::match_default;

      while ( boost::regex_search(rRawDataBegin,

            rRawDataEnd,

            rStartMessage,

            m_rStartExp,

            flags) )

 

 Included is the compiler error report.

 

Please throw me a bone.