Boost C++ Libraries: Ticket #4880: TI compiler: compiling circular_buffer fails https://svn.boost.org/trac10/ticket/4880 <p> Hello, </p> <p> 1.45.0 is the seventh version of boost, which I am successfully using with a Texas Instruments compiler (actually, only some header-only parts of boost). </p> <p> However, for every new version of boost i must make this change in boost/circular_buffer: </p> <pre class="wiki">Index: base.hpp =================================================================== --- base.hpp (revision 41) +++ base.hpp (working copy) @@ -2081,6 +2081,9 @@ throw_exception(std::length_error("circular_buffer")); #if BOOST_CB_ENABLE_DEBUG pointer p = (n == 0) ? 0 : m_alloc.allocate(n, 0); +#ifdef __TI_COMPILER_VERSION__ + std +#endif // __TI_COMPILER_VERSION__ ::memset(p, cb_details::UNINITIALIZED, sizeof(value_type) * n); return p; #else @@ -2124,6 +2127,9 @@ m_alloc.destroy(p); #if BOOST_CB_ENABLE_DEBUG invalidate_iterators(iterator(this, p)); +#ifdef __TI_COMPILER_VERSION__ + std +#endif // __TI_COMPILER_VERSION__ ::memset(p, cb_details::UNINITIALIZED, sizeof(value_type)); #endif } </pre><p> In order to avoid a compilation error: the global scope has no "memset". </p> <p> So I thought maybe this could be resolved once and for all ;-) </p> <p> Cheers Kris </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4880 Trac 1.4.3 Jan Gaspar Mon, 22 Nov 2010 22:18:28 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/4880#comment:1 https://svn.boost.org/trac10/ticket/4880#comment:1 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost-1.46.0</span> </li> </ul> <p> Fixed in trunk. </p> Ticket Jan Gaspar Tue, 23 Nov 2010 20:00:42 GMT <link>https://svn.boost.org/trac10/ticket/4880#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4880#comment:2</guid> <description> <p> Now in release branch. </p> </description> <category>Ticket</category> </item> </channel> </rss>