Boost C++ Libraries: Ticket #723: local_time_facet error in VS2005 Win2003 https://svn.boost.org/trac10/ticket/723 <pre class="wiki">local_time_facet *facet = new local_time_facet(); 1&gt;D:\work\boost\boost/range/const_iterator.hpp(37) : error C2825: 'C': must be a class or namespace when followed by '::' 1&gt; D:\work\boost\boost/algorithm/string/replace.hpp(656) : see reference to class template instantiation 'boost::range_const_iterator&lt;C&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; C=const char * 1&gt; ] 1&gt; D:\work\boost\boost/date_time/time_facet.hpp(257) : see reference to function template instantiation 'void boost::algorithm::replace_all&lt;std::basic_string&lt;_Elem,_Traits,_Ax&gt;,const char*,std::basic_string&lt;_Elem,_Traits,_Ax&gt;&gt;(SequenceT &amp;,const Range1T &amp;,const Range2T &amp;)' being compiled 1&gt; with 1&gt; [ 1&gt; _Elem=char, 1&gt; _Traits=std::char_traits&lt;char&gt;, 1&gt; _Ax=std::allocator&lt;char&gt;, 1&gt; SequenceT=std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt;&gt;, 1&gt; Range1T=const char *, 1&gt; Range2T=std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt;&gt; 1&gt; ] 1&gt; D:\work\boost\boost/date_time/time_facet.hpp(239) : while compiling class template member function 'std::ostreambuf_iterator&lt;_Elem,_Traits&gt; boost::date_time::time_facet&lt;time_type,CharT&gt;::put(OutItrT,std::ios_base &amp;,char,const time_type &amp;) const' 1&gt; with 1&gt; [ 1&gt; _Elem=char, 1&gt; _Traits=std::char_traits&lt;char&gt;, 1&gt; time_type=boost::local_time::local_date_time, 1&gt; CharT=char, 1&gt; OutItrT=std::ostreambuf_iterator&lt;char,std::char_traits&lt;char&gt;&gt; 1&gt; ] 1&gt; .\HttpService.cpp(50) : see reference to class template instantiation 'boost::date_time::time_facet&lt;time_type,CharT&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; time_type=boost::local_time::local_date_time, 1&gt; CharT=char 1&gt; ] 1&gt;D:\work\boost\boost/range/const_iterator.hpp(37) : error C2039: 'const_iterator' : is not a member of '`global namespace'' 1&gt;D:\work\boost\boost/range/const_iterator.hpp(37) : error C2146: syntax error : missing ';' before identifier 'type' 1&gt;D:\work\boost\boost/range/const_iterator.hpp(37) : error C2208: 'boost::type' : no members defined using this type 1&gt;D:\work\boost\boost/range/const_iterator.hpp(37) : fatal error C1903: unable to recover from previous error(s); stopping compilation </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/723 Trac 1.4.3 az_sw_dude Tue, 07 Nov 2006 23:36:29 GMT <link>https://svn.boost.org/trac10/ticket/723#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/723#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 This is a problem in the range library via string algo. I saw the problem and psted to the list and then it went away. Re-assigning to Thorsten for investigation. Jeff </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Thorsten Ottosen</dc:creator> <pubDate>Sat, 17 Nov 2007 21:45:31 GMT</pubDate> <title>severity set https://svn.boost.org/trac10/ticket/723#comment:2 https://svn.boost.org/trac10/ticket/723#comment:2 <ul> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> Can I see the complete code to reproduce this error? </p> <p> Thanks </p> <p> -Thorsten </p> Ticket Thorsten Ottosen Mon, 03 Dec 2007 09:04:08 GMT status, resolution changed https://svn.boost.org/trac10/ticket/723#comment:3 https://svn.boost.org/trac10/ticket/723#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-old">None</span> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I haven't heard anything here, so I assume it has gone away somehow. </p> <p> -Thorsten </p> Ticket