[Boost-bugs] [Boost C++ Libraries] #7019: In libs/format/test/format_test3.cpp, 64-bit Solaris stlport4 iostream produces different result for stlport4

Subject: [Boost-bugs] [Boost C++ Libraries] #7019: In libs/format/test/format_test3.cpp, 64-bit Solaris stlport4 iostream produces different result for stlport4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-22 21:28:05


#7019: In libs/format/test/format_test3.cpp, 64-bit Solaris stlport4 iostream
produces different result for stlport4
-----------------------------------------------+----------------------------
 Reporter: Mike Liang <mtliang@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost Development Trunk
 Severity: Problem | Keywords:
-----------------------------------------------+----------------------------
 On Solaris for both SPARC and x86, building the following on Sun Studio
 with "CC -m64" will produce 8 digits (ffffffff), and building with "CC
 -m64 -library=stlport4" will produce 16 digits (ffffffffffffffff).

 #include <iostream>

 int main()
 {
     std::cout << std::hex << -1 << std::endl;

     return 0;
 }

 This difference in behavior causes format_test3 on 64-bit STLPort4 Solaris
 builds to fail the nesting test.

 The attached patch matches actual output in this situation. Not sure if
 pattern needs to be changed to demonstrate nesting for the 16 character
 case.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7019>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC