[tor-dev] [PATCH] fix GCC 7 implicit fallthroug warnings

Andreas Stieger astieger at suse.com
Sun May 28 21:52:23 UTC 2017


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.

Andreas

-- 
Andreas Stieger <astieger at suse.com>
Project Manager Security
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-GCC-7-Wimplicit-fallthrough-warnings.patch
Type: text/x-patch
Size: 6631 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e2772bb1/attachment.bin>


More information about the tor-dev mailing list