Re: [Boost-bugs] [Boost C++ Libraries] #5428: No <ctime> function in Windows CE 6.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5428: No <ctime> function in Windows CE 6.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-01 16:56:23


#5428: No <ctime> function in Windows CE 6.0
--------------------------------------------------------+-------------------
  Reporter: Akira Takahashi <faithandbrave@…> | Owner: az_sw_dude
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: date_time
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords: wince
--------------------------------------------------------+-------------------

Comment (by Ulrich Eckhardt <ulrich.eckhardt@…>):

 Short update: Another function missing from both CE5 and CE6 is time().
 This function is used in boost/date_time/date_clock_device.hpp and
 boost/date_time/time_clock.hpp. Both uses are inside of template code, so
 the lack of these functions isn't obvious until the templates are
 instantiated.

 My plan is to create a patch that adds a wrapper for time() to the c_time
 class and redirect any direct uses of time() there. Then, in a second
 step, I can implement the time wrapper there for CE. I'll post it in two
 steps because the first step will affect all platforms and I want that
 step to be as small and clear as possible, hopefully increasing the
 chances for it to be applied.


 Notes:
  * I don't have any environments earlier than CE5 here, so I can't speak
 for those, but I'm assuming that the state of the time functions is the
 same.
  * There are no definitions of time() etc in CE5 and CE6, see e.g. this
 [http://blogs.msdn.com/b/cenet/archive/2006/04/29/time-h-on-windows-
 ce.aspx blog posting] of one of the CE developers.
  * In CE5 you have declarations in time.h, which are imported by STLport
 into namespace std, in CE6 those are gone, too.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5428#comment:4>
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:08 UTC