Boost C++ Libraries: Ticket #896: <native-wchar_t>off does not work when build with vc-8.0 https://svn.boost.org/trac10/ticket/896 <pre class="wiki">When the boost libraries are build with the build flag '-sBUILD="&lt;native-wchar_t&gt;off"' the resulting binaries still use the native wchar_t type. Reason/Fix: In vc-8_0-tools.jam the feature is defined as follows: --- snip --- feature native-wchar_t : on off ; flags vc-8_0 C++FLAGS : /Zc:forScope ; flags vc-8_0 C++FLAGS &lt;native-wchar_t&gt;on : /Zc:wchar_t ; --- snip --- But since 'on' is the default value for the new compiler, the defined flags are redundant and the flags for 'off' are missing. To fix, change it to --- snip --- feature native-wchar_t : on off ; flags vc-8_0 C++FLAGS : /Zc:forScope ; flags vc-8_0 C++FLAGS &lt;native-wchar_t&gt;off : /Zc:wchar_t- ; --- snip --- </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/896 Trac 1.4.3 René Rivera Sun, 29 Apr 2007 18:51:37 GMT <link>https://svn.boost.org/trac10/ticket/896#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/896#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=33595 Originator: NO The problem seems to be present in BBv2 also. Will fix after the 1.34 release, since code is frozen at the moment. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Thu, 15 Nov 2007 18:31:43 GMT</pubDate> <title>status, resolution, description changed; severity set https://svn.boost.org/trac10/ticket/896#comment:2 https://svn.boost.org/trac10/ticket/896#comment:2 <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">Later</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/896?action=diff&amp;version=2">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> It seems BBv2 now handles this with brute force. It just turns on native wchar for any msvc &gt;= 7. And there is no feature to do otherwise. </p> Ticket