Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-20 07:49:18


I've took the liberty of comitting the following change, which make "m_value"
visible on compilers with two-phase lookup (like gcc 3.4)

However, the token_iterator_test still fails to compile on 3.4 saying:

token_iterator_test.cpp:47:38: converting to execution character set: Invalid
or incomplete multibyte or wide character
token_iterator_test.cpp:48:31: converting to execution character set: Invalid
or incomplete multibyte or wide character
token_iterator_test.cpp:48:42: converting to execution character set: Invalid
argument
token_iterator_test.cpp:48:49: converting to execution character set: Invalid
argument
token_iterator_test.cpp:48:55: converting to execution character set: Invalid
or incomplete multibyte or wide character

Looks like the text in L"" literals is not 7-bit, and that's why compiler
errors out. Is it possible to change the test somehow?

- Volodya

Index: token_iterator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/test/detail/iterator/token_iterator.hpp,v
retrieving revision 1.3
diff -u -r1.3 token_iterator.hpp
--- token_iterator.hpp 19 Jul 2004 12:29:57 -0000 1.3
+++ token_iterator.hpp 20 Jul 2004 12:45:47 -0000
@@ -309,7 +309,7 @@
         typedef ut_detail::token_assigner<BOOST_DEDUCED_TYPENAME
iterator_traversal<Iter>::type> Assigner;
         Iter checkpoint;
 
- Assigner::clear( m_value );
+ Assigner::clear( this->m_value );
 
         if( !m_keep_empty_tokens ) {
             while( begin != end && m_is_dropped( *begin ) )


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk