Boost C++ Libraries: Ticket #7043: A warning for compiler warning creates another compiler warning https://svn.boost.org/trac10/ticket/7043 <p> Please remove the unnecessary non-ascii character located just after the sceond single quotation mark at line 34 of boost/type_traits/detail/has_binary_operator.hpp. This causes a compiler warning as indicated below. </p> <p> <a class="ext-link" href="http://boost.cowic.de/rc/inspect-trunk.html#type_traits"><span class="icon">​</span>http://boost.cowic.de/rc/inspect-trunk.html#type_traits</a> </p> <blockquote class="citation"> <p> boost\type_traits\detail\has_binary_operator.hpp: </p> <blockquote> <p> (line 34) Non-ASCII: <em> warning C4547: '*'Â : operator before comma has no effect; expected operator with side-effec </em></p> </blockquote> </blockquote> <p> Following is the one I got in Visual Studio 2008 on Japanese Windows: </p> <p> E:\App\boost_1_49_0\boost/type_traits/detail/has_binary_operator.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss </p> <p> The funny thing is that this comment is warning another compiler warning :) </p> <pre class="wiki">27: // cannot include this header without getting warnings of the kind: 28: // gcc: 29: // warning: value computed is not used 30: // warning: comparison between signed and unsigned integer expressions 31: // msvc: 32: // warning C4018: '&lt;' : signed/unsigned mismatch 33: // warning C4244: '+=' : conversion from 'double' to 'char', possible loss of data 34: // warning C4547: '*'Â : operator before comma has no effect; expected operator with side-effect 35: // warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7043 Trac 1.4.3 John Maddock Thu, 12 Jul 2012 17:59:33 GMT owner changed https://svn.boost.org/trac10/ticket/7043#comment:1 https://svn.boost.org/trac10/ticket/7043#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">John Maddock</span> to <span class="trac-author">bronf</span> </li> </ul> Ticket viboes Sat, 13 Apr 2013 17:11:44 GMT <link>https://svn.boost.org/trac10/ticket/7043#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7043#comment:2</guid> <description> <p> Committed in trunk <a class="changeset" href="https://svn.boost.org/trac10/changeset/82830" title="Removing a non-ascii character (i.e. a non-breaking space); fixes #8042.">[82830]</a>. It seems to be in release branch. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Sun, 20 Apr 2014 16:05:38 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7043#comment:3 https://svn.boost.org/trac10/ticket/7043#comment:3 <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> Fixed in Git. </p> Ticket