Boost C++ Libraries: Ticket #5739: set-but-not-used warnings with gcc-4.6 https://svn.boost.org/trac10/ticket/5739 <p> Dear Anthony, </p> <p> Thanks for your work with Boost Threads. Would you please consider addressing the following warnings when compiling from svn trunk? </p> <p> Thanks in advace </p> <p> libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_time(int, boost::xtime&amp;)’: libs/thread/src/pthread/timeconv.inl:22:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_timespec_duration(const boost::xtime&amp;, timespec&amp;)’: libs/thread/src/pthread/timeconv.inl:59:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_duration(boost::xtime, int&amp;)’: libs/thread/src/pthread/timeconv.inl:90:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_microduration(boost::xtime, int&amp;)’: libs/thread/src/pthread/timeconv.inl:112:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] </p> <p> Ubuntu oneiric alpha, gcc 4.6.1 - 64 bits </p> <p> R. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5739 Trac 1.4.3 viboes Fri, 02 Dec 2011 05:30:52 GMT type, milestone changed; cc, keywords set https://svn.boost.org/trac10/ticket/5739#comment:1 https://svn.boost.org/trac10/ticket/5739#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> <li><strong>keywords</strong> 1.48 added </li> <li><strong>type</strong> <span class="trac-field-old">Feature Requests</span> → <span class="trac-field-new">Bugs</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.48.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket viboes Sat, 03 Dec 2011 13:31:22 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/5739#comment:2 https://svn.boost.org/trac10/ticket/5739#comment:2 <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">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Committed in trunk revision 75785. </p> Ticket viboes Sat, 07 Jan 2012 22:44:53 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5739#comment:3 https://svn.boost.org/trac10/ticket/5739#comment:3 <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