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

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


Hello,

6 patches that fix -Wimplicit-fallthrough in GCC 7 on master, by adding

 __attribute__ ((fallthrough));

or break, as required.


Additionally, the patch fixes the same on maint-0.3.0, the warning is no
longer present in master.
0001-Fix-implicit-fallthrough-warning-in-GCC-7-in-tor_gzi.patch

Please review,
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-implicit-fallthrough-warning-with-GCC-7-in-sipha.patch
Type: text/x-patch
Size: 1503 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-implicit-fallthrough-warning-with-GCC-7-in-ed255.patch
Type: text/x-patch
Size: 3529 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-implicit-fallthrough-warning-with-GCC-7-in-parse.patch
Type: text/x-patch
Size: 715 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Fix-implicit-fallthrough-warning-with-GCC-7-in-conne.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Fix-implicit-fallthrough-warning-with-GCC-7-in-DNS-c.patch
Type: text/x-patch
Size: 700 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-implicit-fallthrough-warning-with-GCC-7-in-relay.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-implicit-fallthrough-warning-in-GCC-7-in-tor_gzi.patch
Type: text/x-patch
Size: 1186 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170528/e8503a11/attachment-0006.bin>


More information about the tor-dev mailing list