Boost C++ Libraries: Ticket #1847: Can't compile without <locale> header, boost::lexical_cast problem https://svn.boost.org/trac10/ticket/1847 <p> I'm using boost for WinCE development. I have problem, when I #include&lt;boost/lexical_cast.hpp&gt; it's include &lt;locale&gt; header that missing on MS STL realisation for WinCE </p> <p> It's error occures even I define derectives for non using locale </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1847 Trac 1.4.3 anonymous Tue, 22 Apr 2008 14:11:47 GMT <link>https://svn.boost.org/trac10/ticket/1847#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1847#comment:1</guid> <description> <p> fix </p> <p> #include &lt;locale&gt; </p> <p> where that line located it need to be replaced to </p> <p> #ifndef BOOST_NO_STRINGSTREAM #include &lt;locale&gt; #endif </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 22 Apr 2008 14:13:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1847#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1847#comment:2</guid> <description> <p> ((( sorry for broken fix<br /> </p> <p> #ifndef BOOST_NO_STD_LOCALE <br /> </p> <p> #include &lt;locale&gt; <br /> </p> <p> #endif <br /> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Tue, 22 Apr 2008 15:30:46 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/1847#comment:3 https://svn.boost.org/trac10/ticket/1847#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">nasonov</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">lexical_cast</span> </li> </ul> Ticket nasonov Wed, 07 May 2008 19:43:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1847#comment:4 https://svn.boost.org/trac10/ticket/1847#comment:4 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/45201" title="Fixes #1847 Can't compile without &lt;locale&gt; header, boost::lexical_cast ...">[45201]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1847" title="#1847: Bugs: Can't compile without &lt;locale&gt; header, boost::lexical_cast problem (closed: fixed)">#1847</a> Can't compile without &lt;locale&gt; header, boost::lexical_cast problem </p> Ticket DmitryYakimov Fri, 09 May 2008 11:14:40 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/1847#comment:5 https://svn.boost.org/trac10/ticket/1847#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Then we should define BOOST_NO_STD_LOCALE in config files for windows mobile as well. </p> Ticket anonymous Sat, 10 May 2008 09:33:53 GMT <link>https://svn.boost.org/trac10/ticket/1847#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1847#comment:6</guid> <description> <p> And we should remove defined(BOOST_NO_STD_LOCALE) ): </p> <table class="wiki"> <tr>#if defined(BOOST_NO_STRINGSTREAM) </tr></table> <blockquote> <table class="wiki"> <tr>defined(BOOST_NO_STD_WSTRING) </tr></table> </blockquote> <p> #define DISABLE_WIDE_CHAR_SUPPORT #endif </p> <p> in the beginning of lexical_cast.hpp </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 10 May 2008 09:35:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1847#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1847#comment:7</guid> <description> <p> Sorry, missed formatting: </p> <pre class="wiki">#if defined(BOOST_NO_STRINGSTREAM) || \ defined(BOOST_NO_STD_WSTRING) #define DISABLE_WIDE_CHAR_SUPPORT #endif </pre><p> in the beginning of lexical_cast.hpp </p> </description> <category>Ticket</category> </item> <item> <pubDate>Mon, 03 Nov 2008 14:20:34 GMT</pubDate> <title>milestone deleted https://svn.boost.org/trac10/ticket/1847#comment:8 https://svn.boost.org/trac10/ticket/1847#comment:8 <ul> <li><strong>milestone</strong> <span class="trac-field-deleted">Boost 1.35.1</span> </li> </ul> <p> Milestone Boost 1.35.1 deleted </p> Ticket nasonov Sat, 12 Sep 2009 22:21:45 GMT milestone set https://svn.boost.org/trac10/ticket/1847#comment:9 https://svn.boost.org/trac10/ticket/1847#comment:9 <ul> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1847#comment:5" title="Comment 5">DmitryYakimov</a>: </p> <blockquote class="citation"> <p> Then we should define BOOST_NO_STD_LOCALE in config files for windows mobile as well. </p> </blockquote> <p> If it's still not defined for windows mobile, you should submit a bug for the "config" component. I'm closing this bug. </p> Ticket nasonov Sat, 12 Sep 2009 22:22:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1847#comment:10 https://svn.boost.org/trac10/ticket/1847#comment:10 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56160" title="Fix #1847 (Can't compile without &lt;locale&gt; header, boost::lexical_cast ...">[56160]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1847" title="#1847: Bugs: Can't compile without &lt;locale&gt; header, boost::lexical_cast problem (closed: fixed)">#1847</a> (Can't compile without &lt;locale&gt; header, boost::lexical_cast problem). </p> Ticket