Boost C++ Libraries: Ticket #5145: Fixed warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand] https://svn.boost.org/trac10/ticket/5145 <p> Fixed warning: use of logical &amp;&amp; with constant operand; switch to bitwise &amp; or remove constant [-Wconstant-logical-operand] </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5145 Trac 1.4.3 anonymous Mon, 31 Jan 2011 17:01:50 GMT attachment set https://svn.boost.org/trac10/ticket/5145 https://svn.boost.org/trac10/ticket/5145 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0002-Fixed-warning-use-of-logical-with-constant-operand-s.patch</span> </li> </ul> Ticket Steven Watanabe Fri, 11 Feb 2011 03:25:58 GMT owner changed https://svn.boost.org/trac10/ticket/5145#comment:1 https://svn.boost.org/trac10/ticket/5145#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Dave Abrahams</span> to <span class="trac-author">Andy Tompkins</span> </li> </ul> Ticket Marshall Clow Mon, 14 Feb 2011 16:41:48 GMT <link>https://svn.boost.org/trac10/ticket/5145#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5145#comment:2</guid> <description> <p> Applying this patch causes two of the tests to fail (not surprisingly, since it changes the string representation when outputting as wide chars): </p> <pre class="wiki"> testing.capture-output ../../../bin.v2/libs/uuid/test/test_name_generator.test/clang-darwin-4.2.1/debug/test_name_generator.run ====== BEGIN OUTPUT ====== test_name_generator.cpp(32): test 'u == wcorrect' failed in function 'int main(int, char **)': 'c315270b-a466-5872-aca4-9626cec0f4be' != 'b9506613-2c04-512d-b8fe-bf8d0ba1b271' test_name_generator.cpp(40): test 'u == wcorrect' failed in function 'int main(int, char **)': 'c315270b-a466-5872-aca4-9626cec0f4be' != 'b9506613-2c04-512d-b8fe-bf8d0ba1b271' 2 errors detected. EXIT STATUS: 1 ====== END OUTPUT ====== </pre><p> The test needs to be adjusted, too. ;-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Mon, 14 Feb 2011 17:34:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5145#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5145#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/68866" title="Fix bug in wide output; Refs #5145">[68866]</a>) Fix bug in wide output; Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5145" title="#5145: Patches: Fixed warning: use of logical &amp;&amp; with constant operand; switch to ... (closed: fixed)">#5145</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andy Tompkins</dc:creator> <pubDate>Mon, 30 May 2011 00:36:31 GMT</pubDate> <title>status, version changed; resolution set https://svn.boost.org/trac10/ticket/5145#comment:4 https://svn.boost.org/trac10/ticket/5145#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost Development Trunk</span> → <span class="trac-field-new">Boost 1.47.0</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket