Boost C++ Libraries: Ticket #4480: OpenVMS patches for compiler issues workarounds https://svn.boost.org/trac10/ticket/4480 <p> Hello, </p> <p> This patch provides fixes for OpenVMS platform/DECCXX compiler. </p> <p> It is <strong>very important</strong> for the organization I work for to submit them to upstream Boost in order to make an upgrade to future Boost versions simpler. </p> <p> This patch related to ticket: <a class="new ticket" href="https://svn.boost.org/trac10/ticket/4473" title="#4473: Patches: OpenVMS patch for Asio (new)">#4473</a> </p> <p> Thanks, </p> <blockquote> <p> Artyom </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4480 Trac 1.4.3 artyomtnk@… Tue, 27 Jul 2010 18:48:59 GMT attachment set https://svn.boost.org/trac10/ticket/4480 https://svn.boost.org/trac10/ticket/4480 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">thread.patch</span> </li> </ul> Ticket viboes Wed, 17 Nov 2010 21:35:57 GMT cc set https://svn.boost.org/trac10/ticket/4480#comment:1 https://svn.boost.org/trac10/ticket/4480#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> </ul> <p> Please, could you provide the compile errors you get? </p> Ticket artyomtnk@… Fri, 19 Nov 2010 14:06:29 GMT <link>https://svn.boost.org/trac10/ticket/4480#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4480#comment:2</guid> <description> <blockquote class="citation"> <p> Please, could you provide the compile errors you get? </p> </blockquote> <p> I'll provide them as soon as I get to OpenVMS (I think on Sunday) </p> </description> <category>Ticket</category> </item> <item> <author>alan.antonuk@…</author> <pubDate>Fri, 23 Sep 2011 15:55:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4480#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4480#comment:3</guid> <description> <p> Not sure if you're still looking for the compile errors (these changes still seem applicable in boost 1.46.1 on OpenVMS v8.3 on Alpha, with C++ V7.3-015) </p> <p> For the change in the future.hpp file, the errors I get without the fixes are: </p> <pre class="wiki"> locks[i]=boost::unique_lock&lt;boost::mutex&gt;(futures[i].future-&gt;mutex); .................................^ %CXX-W-REFTEMPORARY, initial value of reference to non-const must be an lvalue at line number 422 in file BOOST_1_46_1:[boost.thread]future.hpp;1 locks[i]=boost::unique_lock&lt;boost::mutex&gt;(futures[i].future-&gt;mutex); ................................^ %CXX-E-INASPEFUN, "boost::unique_lock&lt;Mutex&gt; &amp;boost::unique_lock&lt;Mutex&gt;::operator=(boost::unique_lock&lt;Mutex&gt; &amp;) [with Mutex=boost::mutex]" is inaccessible at line number 422 in file BOOST_1_46_1:[boost.thread]future.hpp;1 </pre><p> The errors in thread_data.hpp: </p> <pre class="wiki"> this_thread::sleep(get_system_time()+rel_time); ................................................^ %CXX-E-NOMATOPRFUN, no operator "+" matches these operands operand types are: boost::system_time + const boost::system_time detected during instantiation of "void boost::this_thread::sleep(const TimeDuration &amp;) [with TimeDuration=boost::system_time]" at line 346 of "BOOST_1_46_1:[boost.thread.detail]thread.hpp;1" at line number 138 in file BOOST_1_46_1:[boost.thread.pthread]thread_data.hpp;1 void sleep(const system_time&amp; st) .............^ %CXX-E-SPECALINLTMPFUN, specific definition of inline template function must precede its first use at line number 320 in file BOOST_1_46_1:[libs.thread.src.pthread]thread.cpp;1 </pre><p> I haven't been able to repro the error in thread.cpp </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 03 Dec 2011 11:25:33 GMT</pubDate> <title>owner, status, milestone changed https://svn.boost.org/trac10/ticket/4480#comment:4 https://svn.boost.org/trac10/ticket/4480#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.44.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket viboes Sat, 03 Dec 2011 14:02:18 GMT milestone changed https://svn.boost.org/trac10/ticket/4480#comment:5 https://svn.boost.org/trac10/ticket/4480#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Committed in trunk revision 75787 (sleep part). </p> Ticket viboes Sat, 03 Dec 2011 14:08:45 GMT <link>https://svn.boost.org/trac10/ticket/4480#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4480#comment:6</guid> <description> <p> Committed in trunk revision 75788 (future move part). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 07 Jan 2012 22:04:02 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4480#comment:7 https://svn.boost.org/trac10/ticket/4480#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Committed in release at <a class="missing ticket">#76291</a> </p> Ticket