Corinna Vinschen
b6cedcd9a4
Cygwin: Add 'fallthrough' pseudo keyword for switch/case use
...
This patch has been inspired by the Linux kernel patch
294f69e662d1 compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use
written by Joe Perches <joe AT perches DOT com> based on an idea from
Dan Carpenter <dan DOT carpenter AT oracle DOT com>. The following text
is from the original log message:
Reserve the pseudo keyword 'fallthrough' for the ability to convert the
various case block /* fallthrough */ style comments to appear to be an
actual reserved word with the same gcc case block missing fallthrough
warning capability.
All switch/case blocks now should end in one of:
break;
fallthrough;
goto <label>;
return [expression];
continue;
In C mode, GCC supports the __fallthrough__ attribute since 7.1,
the same time the warning and the comment parsing were introduced.
Cygwin-only: add an explicit -Wimplicit-fallthrough=5 to the build
flags.
2020-10-14 10:54:26 -04:00
..
2020-10-14 10:54:23 -04:00
2020-10-14 10:54:21 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:24 -04:00
2020-10-14 10:54:20 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:16 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:25 -04:00
2019-01-22 15:42:07 +01:00
2019-01-22 15:42:07 +01:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:53:57 -04:00
2016-04-01 13:53:25 +02:00
2016-04-04 16:39:41 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:13 -04:00
2016-08-25 14:18:31 +02:00
2016-06-23 10:09:17 +02:00
2018-02-20 18:01:40 +01:00
2019-01-22 16:38:14 +01:00
2020-10-14 10:54:14 -04:00
2019-03-04 17:31:27 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-08-20 17:14:55 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:13 -04:00
2019-01-23 21:45:59 +01:00
2016-06-25 13:36:52 +02:00
2016-06-23 10:09:17 +02:00
2016-06-25 00:43:01 +02:00
2020-10-14 10:53:59 -04:00
2018-03-05 17:49:50 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:03 -04:00
2020-10-14 10:54:04 -04:00
2020-10-14 10:54:03 -04:00
2020-10-14 10:54:14 -04:00
2019-02-07 15:58:02 +01:00
2020-10-14 10:53:53 -04:00
2020-10-14 10:53:52 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:09 -04:00
2017-01-10 16:24:50 +01:00
2018-02-20 17:59:53 +01:00
2017-11-27 14:36:06 +01:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:53:58 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:22 -04:00
2019-01-07 12:29:07 +01:00
2016-06-23 16:56:41 +02:00
2020-10-14 10:54:20 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:17 -04:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2019-03-30 20:08:36 +01:00
2020-10-14 10:54:25 -04:00
2019-03-30 20:08:36 +01:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:53:56 -04:00
2020-10-14 10:53:56 -04:00
2020-10-14 10:53:56 -04:00
2016-12-14 14:14:28 +01:00
2020-10-14 10:53:56 -04:00
2020-10-14 10:53:56 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:54:24 -04:00
2020-10-14 10:54:10 -04:00
2020-10-14 10:54:13 -04:00
2020-10-14 10:54:26 -04:00
2018-06-29 15:31:15 +02:00
2020-10-14 10:54:26 -04:00
2019-02-25 21:01:32 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:53:56 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:25 -04:00
2020-10-14 10:53:53 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 16:56:41 +02:00
2019-01-15 13:19:41 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:09 -04:00
2016-03-24 16:39:15 +01:00
2016-03-24 16:39:15 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:53:53 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-23 10:46:24 +01:00
2020-10-14 10:54:13 -04:00
2019-01-07 19:35:00 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:53:52 -04:00
2020-10-14 10:53:52 -04:00
2019-03-02 12:43:34 +01:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:21 -04:00
2019-03-12 17:09:42 +01:00
2017-03-27 22:03:58 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:14 -04:00
2016-08-20 17:14:55 +02:00
2016-03-29 14:43:55 +02:00
2016-03-24 16:39:15 +01:00
2020-10-14 10:54:16 -04:00
2020-10-14 10:54:14 -04:00
2015-08-17 11:05:43 +02:00
2019-01-24 11:39:43 +01:00
2020-10-14 10:54:16 -04:00
2020-10-14 10:53:57 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:24 -04:00
2019-02-18 10:26:53 +01:00
2019-02-18 10:23:15 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:22 -04:00
2020-10-14 10:54:24 -04:00
2020-10-14 10:54:14 -04:00
2016-12-14 14:14:28 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:09 -04:00
2016-09-08 13:36:31 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:09 -04:00
2020-10-14 10:54:04 -04:00
2018-02-23 15:24:18 +01:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:13 -04:00
2019-01-22 18:20:18 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-02-17 10:55:28 +01:00
2018-06-27 17:56:59 +02:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:26 -04:00
2018-04-16 22:46:11 -05:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2018-02-07 13:07:44 +01:00
2017-06-19 08:16:42 -05:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:54:26 -04:00
2019-03-27 17:08:49 +01:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:22 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:15 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-07 15:58:02 +01:00
2019-02-07 15:58:02 +01:00
2020-10-14 10:53:57 -04:00
2020-10-14 10:54:12 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:12 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:54:25 -04:00
2018-11-26 17:59:10 +01:00
2020-10-14 10:54:00 -04:00
2020-10-14 10:54:22 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:10 -04:00
2020-10-14 10:54:12 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:09 -04:00
2020-10-14 10:54:26 -04:00
2018-07-06 10:41:21 +02:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:53:55 -04:00
2018-06-27 17:56:59 +02:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:54:14 -04:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:14 -04:00
2020-10-14 10:53:59 -04:00
2020-10-14 10:53:59 -04:00
2020-10-14 10:54:21 -04:00
2020-10-14 10:54:21 -04:00
2020-10-14 10:54:26 -04:00
2020-10-14 10:53:56 -04:00
2016-06-23 10:09:17 +02:00
2016-09-08 13:36:29 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:22 -04:00
2020-10-14 10:54:21 -04:00
2020-10-14 10:54:21 -04:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-10-14 10:54:16 -04:00
2020-10-14 10:54:26 -04:00
2016-06-23 10:09:17 +02:00
2016-03-29 14:43:55 +02:00