Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8478: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-22 17:11:12
#8478: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic.
------------------------------------------------------+---------------------
Reporter: Alexander Kornienko <alexfh@â¦> | Owner: hkaiser
Type: Patches | Status: closed
Milestone: To Be Determined | Component: wave
Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------------------------+---------------------
Comment (by Alexander Kornienko <alexfh@â¦>):
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:
> case 1: *b = c; ++b; BOOST_FALLTHROUGH;
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8478#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC