id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4880,TI compiler: compiling circular_buffer fails,Krzysztof Czainski <1czajnik@…>,Jan Gaspar,"Hello, 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). However, for every new version of boost i must make this change in boost/circular_buffer: {{{ 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 } }}} In order to avoid a compilation error: the global scope has no ""memset"". So I thought maybe this could be resolved once and for all ;-) Cheers Kris",Bugs,closed,Boost 1.46.0,circular_buffer,Boost 1.45.0,Problem,fixed,,