
Steven, I've never used stlport. How would stlport help with the SUN compilation problem I'm having? Am I missing something? I was hoping the implementer of this library knew what the problem was right away and guided me to a quick solution. What is AMDG? -Sid Sacek -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Wednesday, June 18, 2008 8:39 PM To: boost@lists.boost.org Subject: Re: [boost] [format] Compiler error when using the Sun compiler. AMDG Sid Sacek wrote:
This code below doesn't compile when I use the Sun compiler. My company is currently using boost 1.33.0, and I cannot do anything about that, but I want to use boost::format. What modification can I make to the format files to fix this issue?
Can you use stlport? In Christ, Steven Watanabe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Can someone please assist? This code below doesn't compile when I use the Sun compiler. My company is currently using boost 1.33.0, and I cannot do anything about that, but I want to use boost::format. What modification can I make to the format files to fix this issue? Thanks, -Sid Sacek #include <boost/format.hpp> int main( int, char ** ) { boost::format fmt( "test %d %d\n" ); } [[[ The error: ]]] "/data/thirdparty/suncc/32/boost_1_33_0/include/boost/format/alt_sstream_impl.hpp", line 248: Error: Cannot assign void* to char*. Where: While instantiating "boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char>>::overflow(int)". Where: Instantiated from non-template code. 1 Error(s) detected.