Boost C++ Libraries: Ticket #8478: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic. https://svn.boost.org/trac10/ticket/8478 <p> Patch that inserts BOOST_FALLTHROUGH to annotate fallthrough between switch cases. Ticket with discussion of BOOST_FALLTHROUGH: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8408" title="#8408: Patches: Boost is not compatible with Clang's -Wimplicit-fallthrough diagnostic (closed: fixed)">#8408</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8478 Trac 1.4.3 Alexander Kornienko <alexfh@…> Mon, 22 Apr 2013 14:45:34 GMT attachment set https://svn.boost.org/trac10/ticket/8478 https://svn.boost.org/trac10/ticket/8478 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">wave.patch</span> </li> </ul> Ticket Hartmut Kaiser Mon, 22 Apr 2013 17:01:54 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8478#comment:1 https://svn.boost.org/trac10/ticket/8478#comment:1 <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/84012" title="Fixed #8478: Make Boost.wave compatible with Clang's ...">[84012]</a>) Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8478" title="#8478: Patches: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic. (closed: fixed)">#8478</a>: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic. </p> Ticket Alexander Kornienko <alexfh@…> Mon, 22 Apr 2013 17:11:12 GMT <link>https://svn.boost.org/trac10/ticket/8478#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8478#comment:2</guid> <description> <p> The last case label doesn't require BOOST_FALLTHROUGH annotation after it. Clang's diagnostic doesn't care about falling through via next loop iteration. Please remove BOOST_FALLTHROUGH after case 1: </p> <blockquote class="citation"> <p> case 1: *b = c; ++b; BOOST_FALLTHROUGH; </p> </blockquote> </description> <category>Ticket</category> </item> </channel> </rss>