Boost logo

Boost :

From: Darryl Green (Darryl.Green_at_[hidden])
Date: 2003-03-19 05:14:37


> -----Original Message-----
> From: Terje Slettebø [mailto:tslettebo_at_[hidden]]
> Sent: Wednesday, 19 March 2003 7:43 AM
> lexical_cast_test.cpp(105): error in "test_conversion_to_intr": exception
> boost::bad_lexical_cast is expected
> lexical_cast_test.cpp(111): error in "test_conversion_to_intr": exception
> boost::bad_lexical_cast is expected
> lexical_cast_test.cpp(147): error in "test_conversion_to_boolle":
> exception
> boost::bad_lexical_cast is expected
>
> Notice the weird misspellings in the error messages. :)

I think you will find this is fixed by the following patch (sorry this is against 1.29)

==== //depot/devel/lib/boost/vendor/boost/test/unit_test_suite.hpp#1 - /home/green/p4/devel/lib/boost/boost/test/unit_test_suite.hpp ====
***************
*** 267,273 ****
      if( name_[0] == '&' )
          name_.erase( 0, 1 );
  
! return name_.data();
  }
  
  } // namespace detail
--- 267,273 ----
      if( name_[0] == '&' )
          name_.erase( 0, 1 );
  
! return name_.c_str();
  }
  
  } // namespace detail


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