Boost C++ Libraries: Ticket #2956: vxWorks POSIX quirks for date_time https://svn.boost.org/trac10/ticket/2956 <p> vxWorks is almost a unix-like platform, that supports the POSIX realtime extensions and a lot of POSIX stuff.. but its weird. </p> <p> It apparently doesn't support gettimeofday. I modified microsec_time_clock to support a situation where gettimeofday isn't available but clock_gettime is. </p> <p> vxWorks has localtime_r, but it is defined as "extern int localtime_r (const time_t *_tod, struct tm *_result);"... so it needs some hand holding to work correctly. same with gmtime_r </p> <p> Of course, this patch also requires the user to setup a config that defines BOOST_HAS_CLOCK_GETTIME, but I'm going to submit a separate patch for vxWorks platform config </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2956 Trac 1.4.3 Dustin Spicuzza <dustin@…> Sat, 18 Apr 2009 20:11:05 GMT attachment set https://svn.boost.org/trac10/ticket/2956 https://svn.boost.org/trac10/ticket/2956 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_38_0.date_time.vxworks.patch</span> </li> </ul> Ticket Dustin Spicuzza <dustin@…> Sat, 18 Apr 2009 22:05:00 GMT type changed https://svn.boost.org/trac10/ticket/2956#comment:1 https://svn.boost.org/trac10/ticket/2956#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket Dustin Spicuzza <dustin@…> Mon, 27 Apr 2009 04:14:46 GMT <link>https://svn.boost.org/trac10/ticket/2956#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2956#comment:2</guid> <description> <p> This is a pretty trivial patch, do you think you could take a look at it at some point? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 02 Dec 2010 08:58:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2956#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2956#comment:3</guid> <description> <p> I see a possible problem with this patch. </p> <p> Adding a new config macro need to provide a test also. I gues we can change </p> <pre class="wiki"> result = localtime_r(t, result); </pre><p> by </p> <pre class="wiki"> (void)localtime_r(t, result); </pre><p> without too much trouble </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 12 Jun 2013 21:44:49 GMT</pubDate> <title>severity changed https://svn.boost.org/trac10/ticket/2956#comment:4 https://svn.boost.org/trac10/ticket/2956#comment:4 <ul> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket