[Boost-bugs] [Boost C++ Libraries] #1594: [statechart] 'fixed' : is not a member of 'std'

Subject: [Boost-bugs] [Boost C++ Libraries] #1594: [statechart] 'fixed' : is not a member of 'std'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-22 22:54:53


#1594: [statechart] 'fixed' : is not a member of 'std'
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: andreas_huber69
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: statechart
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The [http://stdcxx.apache.org/ stdcxx] is the another implementation of
 the STL (initially based on RogueWave STL).

     The following errors are encountered when running boost regression
 tests on msvc with stdcxx-4.2.0.

 {{{
 Performance.cpp
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(497) :
 error C2039: 'fixed' : is not a member of 'std'
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(516) : see
 reference to function template instantiation 'void
 TestAndWriteResults<uint1>(void)' being compiled
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(497) :
 error C2065: 'fixed' : undeclared identifier
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(497) :
 error C2039: 'fixed' : is not a member of 'std'
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(517) : see
 reference to function template instantiation 'void
 TestAndWriteResults<uint2>(void)' being compiled
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(497) :
 error C2039: 'fixed' : is not a member of 'std'
 ..\libs\statechart\test\..\example\Performance\Performance.cpp(518) : see
 reference to function template instantiation 'void
 TestAndWriteResults<uint3>(void)' being compiled
 }}}

   The proposd patch:

 {{{
 Index: libs/statechart/example/Performance/Performance.cpp
 ===================================================================
 --- libs/statechart/example/Performance/Performance.cpp (revision 42908)
 +++ libs/statechart/example/Performance/Performance.cpp (working copy)
 @@ -62,6 +62,7 @@
  #include <iostream>
  #include <fstream>
  #include <iomanip>
 +#include <ios> // for std::fixed
  #include <string>
  #include <algorithm>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1594>
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:49:57 UTC