Boost C++ Libraries: Ticket #12206: gcc 6.1 reports "misleading-indentation" warning https://svn.boost.org/trac10/ticket/12206 <p> GCC 6.1 produces the following output (-Wall, -Werror). </p> <p> ../boost/algorithm/cxx11/none_of.hpp: In function 'bool boost::algorithm::none_of(<a class="missing wiki">InputIterator</a>, <a class="missing wiki">InputIterator</a>, Predicate)': ../boost/algorithm/cxx11/none_of.hpp:32:1: error: this 'for' clause does not guard... [-Werror=misleading-indentation] </p> <blockquote> <p> for ( ; first != last; ++first ) <sup><del> </del></sup></p> </blockquote> <p> ../boost/algorithm/cxx11/none_of.hpp:35:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' </p> <blockquote> <p> return true; <sup><del></del>~ </sup></p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12206 Trac 1.4.3 Marshall Clow Mon, 16 May 2016 14:48:20 GMT <link>https://svn.boost.org/trac10/ticket/12206#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12206#comment:1</guid> <description> <p> Fixed in commit 5314d59. Will merge to master before next release. </p> </description> <category>Ticket</category> </item> </channel> </rss>