Boost C++ Libraries: Ticket #6347: detail/memory_util.hpp error: extra `;' https://svn.boost.org/trac10/ticket/6347 <p> The following tester is reporting the following errors. </p> <pre class="wiki">Test output: Sandia-gcc-3.4.6 - chrono - duration_input_header / gcc-3.4.6 Rev 76268 / Mon, 2 Jan 2012 07:47:00 +0000 Report Time: Mon, 2 Jan 2012 12:50:41 +0000 Compile [2012-01-02 08:21:11 UTC]: fail "/sierra/Sntools/extras/compilers/gcc-3.4.6/bin/g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -fPIC -m32 -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_NO_DEPRECATED -I".." -c -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/duration_input_header.test/gcc-3.4.6/debug/address-model-32/io/duration_input.o" "../libs/chrono/test/io/duration_input.cpp" In file included from ../boost/intrusive/pointer_traits.hpp:26, from ../boost/interprocess/detail/utilities.hpp:32, from ../boost/interprocess/smart_ptr/unique_ptr.hpp:22, from ../boost/chrono/detail/scan_keyword.hpp:22, from ../boost/chrono/io_v1/chrono_io.hpp:26, from ../boost/chrono/chrono_io.hpp:17, from ../libs/chrono/test/io/duration_input.cpp:5: ../boost/intrusive/detail/memory_util.hpp:142: error: extra `;' ../boost/intrusive/detail/memory_util.hpp:143: error: extra `;' ../boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp: In function `bool boost::chrono::detail::gt(T, U) [with T = long long int, U = long long unsigned int]': ../boost/chrono/io_v1/chrono_io.hpp:537: instantiated from `std::basic_istream&lt;_CharT, _Traits&gt;&amp; boost::chrono::operator&gt;&gt;(std::basic_istream&lt;_CharT, _Traits&gt;&amp;, boost::chrono::duration&lt;Rep2, Period2&gt;&amp;) [with CharT = char, Traits = std::char_traits&lt;char&gt;, Rep = int_least32_t, Period = boost::ratio&lt;3600ll, 1ll&gt;]' ../libs/chrono/test/io/duration_input.cpp:16: instantiated from `void test_good(const char*, D) [with D = boost::chrono::duration&lt;int_least32_t, boost::ratio&lt;3600ll, 1ll&gt; &gt;]' ../libs/chrono/test/io/duration_input.cpp:55: instantiated from here ../boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp:37: warning: comparison between signed and unsigned integer expressions </pre><p> It seems there is a little extra ';' at the end of the macro call. </p> <pre class="wiki">BOOST_INTRUSIVE_INSTANTIATE_DEFAULT_TYPE_TMPLT(element_type); BOOST_INTRUSIVE_INSTANTIATE_DEFAULT_TYPE_TMPLT(difference_type); </pre><p> Some other testers are suffering from the same problem. Please, could you take care of this little issue? </p> <p> BTW, the issue appear in trunk and release. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6347 Trac 1.4.3 Ion Gaztañaga Mon, 02 Jan 2012 22:16:47 GMT <link>https://svn.boost.org/trac10/ticket/6347#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6347#comment:1</guid> <description> <p> Let's see if revision 76282 fixes the problem. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Wed, 18 Jan 2012 21:01:39 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6347#comment:2 https://svn.boost.org/trac10/ticket/6347#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Problems seems resolved. Closing bug </p> Ticket