Boost logo

Boost Users :

From: Anders Moe (anders.moe_at_[hidden])
Date: 2008-03-31 08:03:41


Hi all

I'm getting the following error in boost 1.35.0 on Solaris 10 using Sun
Studio 12 :

"/home/amoe/src/boost_1_35_0/boost/format/alt_sstream_impl.hpp", line 252:
Error: Cannot assign void* to char*. Where: While instantiating
"boost::io::basic_altstringbuf, std::allocator>::overflow(int)". Where:
Instantiated from non-template code.1 Error(s) detected.

I'd like to track down which part of my own code initiates the error, but
frankly I'm not sure how to do that - the compiler output reports nothing
but the above error.

These are the relevant lines from alt_sstream_impl.hpp :

 add_size) {
               new_size += add_size;
               newptr = alloc_.allocate(new_size, is_allocated_? oldptr :
0); // ERROR
         }

Regards,

Anders


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net