[tor-dev] [PATCH] fix GCC 7 implicit fallthroug warnings
    Nick Mathewson 
    nickm at alum.mit.edu
       
    Tue May 30 12:34:00 UTC 2017
    
    
  
On Sun, May 28, 2017 at 5:52 PM, Andreas Stieger <astieger at suse.com> wrote:
> Hello,
>
> On 05/28/2017 11:01 PM, Andreas Stieger wrote:
>>  __attribute__ ((fallthrough));
>
> It turns out that this may not be as portable as I thought. Instead, the
> attached patch adds magic comments recognized by default
> -Wimplicit-fallthrough=3 or break, as required.
Hi!  I've applied this one to master, and opened
https://trac.torproject.org/projects/tor/ticket/22446#no5 to track it.
yrs,
-- 
Nick
    
    
More information about the tor-dev
mailing list