Corinna Vinschen
50ad198085
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-08-05 21:58:22 +02:00
..
2020-07-12 15:09:40 +01:00
2020-05-30 19:41:18 +02:00
2020-08-05 21:58:22 +02:00
2020-03-11 13:45:58 +01:00
2020-08-05 21:58:22 +02:00
2020-07-21 17:57:37 -04:00
2020-05-26 10:22:41 +02:00
2016-06-23 10:09:17 +02:00
2020-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-04-07 17:42:02 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-08-03 12:41:44 +02: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
2019-07-24 22:32:48 +02: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-02-28 15:02:09 +01: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-03-11 13:45:58 +01: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-03-11 13:45:58 +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
2020-02-26 20:55:14 +01: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
2019-08-18 14:02:01 +02: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-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-10-23 10:05:42 +02:00
2019-11-04 10:34:59 +01:00
2019-10-23 10:05:42 +02:00
2020-03-11 13:45:58 +01:00
2019-02-07 15:58:02 +01:00
2019-06-03 18:37:52 +02:00
2019-05-05 10:04:43 -04:00
2016-06-23 10:09:17 +02:00
2020-03-11 13:45:58 +01:00
2016-06-23 10:09:17 +02:00
2020-01-28 21:59:25 +01: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-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2020-03-11 13:45:58 +01:00
2020-03-11 13:45:58 +01:00
2019-08-09 17:49:16 +02:00
2016-06-23 10:09:17 +02:00
2020-07-10 10:29:33 +02:00
2019-01-07 12:29:07 +01:00
2016-06-23 16:56:41 +02:00
2020-05-28 13:34:19 -04:00
2020-08-05 21:58:22 +02:00
2020-08-05 21:46:53 +02:00
2020-04-24 16:22:26 +02:00
2020-03-11 13:45:58 +01:00
2016-06-23 10:09:17 +02:00
2019-03-30 20:08:36 +01:00
2020-08-04 10:10:40 +02:00
2019-03-30 20:08:36 +01:00
2020-03-11 13:45:58 +01:00
2019-07-22 18:42:39 +02:00
2019-07-22 18:42:39 +02:00
2019-07-22 18:42:39 +02:00
2016-12-14 14:14:28 +01:00
2019-07-22 08:15:16 -04:00
2019-07-22 14:06:35 -04:00
2020-08-05 21:58:22 +02:00
2019-07-12 17:27:26 +02:00
2020-07-20 09:49:34 +02:00
2020-01-30 09:43:19 -05:00
2020-02-28 15:27:16 +01:00
2020-08-05 21:58:22 +02:00
2018-06-29 15:31:15 +02:00
2020-08-05 21:58:22 +02:00
2019-02-25 21:01:32 +01:00
2020-08-05 21:58:22 +02:00
2019-07-22 18:42:39 +02:00
2020-03-11 13:45:58 +01:00
2020-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2020-08-05 21:58:22 +02:00
2020-08-04 08:15:19 -04:00
2020-03-11 13:45:58 +01:00
2020-08-03 12:41:44 +02:00
2019-06-03 18:38:16 +02: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-08-05 21:58:22 +02:00
2020-01-28 21:59:25 +01:00
2016-03-24 16:39:15 +01:00
2016-03-24 16:39:15 +01:00
2020-08-05 21:58:22 +02:00
2019-06-04 16:58:53 +02:00
2016-06-23 10:09:17 +02:00
2020-03-11 13:45:58 +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
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-02-28 15:02:09 +01: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
2019-04-30 11:55:04 +02:00
2019-04-30 11:55:04 +02:00
2019-03-02 12:43:34 +01:00
2020-03-11 13:45:58 +01:00
2020-05-30 19:41:18 +02:00
2019-03-12 17:09:42 +01:00
2017-03-27 22:03:58 +01:00
2020-08-05 21:58:22 +02:00
2020-03-11 13:45:58 +01: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-04-07 18:23:11 +02:00
2020-03-11 13:45:58 +01:00
2015-08-17 11:05:43 +02:00
2019-01-24 11:39:43 +01:00
2020-04-07 18:23:11 +02:00
2019-08-08 11:27:52 +02:00
2016-06-23 10:09:17 +02:00
2020-07-22 10:51:27 +02: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-03-11 13:45:58 +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
2020-07-10 10:29:33 +02:00
2020-07-22 10:51:27 +02:00
2020-03-11 13:45:58 +01:00
2016-12-14 14:14:28 +01:00
2020-08-05 21:58:22 +02:00
2020-08-05 21:58:22 +02:00
2020-01-28 21:59:25 +01:00
2016-09-08 13:36:31 +02:00
2016-06-23 10:09:17 +02:00
2020-01-28 21:59:25 +01:00
2019-11-02 19:55:24 +01:00
2018-02-23 15:24:18 +01:00
2020-08-05 21:58:22 +02:00
2020-02-26 16:59:56 +01: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-03-11 13:45:58 +01:00
2020-08-05 21:58:22 +02: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
2019-06-28 17:10:39 +02:00
2020-08-05 21:58:22 +02:00
2019-03-27 17:08:49 +01:00
2020-03-11 13:45:58 +01:00
2020-08-05 21:58:22 +02:00
2020-07-10 10:29:47 +02:00
2020-03-11 13:45:58 +01:00
2020-03-11 13:45:58 +01:00
2020-08-05 21:58:22 +02:00
2020-03-23 21:06:03 +01: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
2019-08-08 11:27:52 +02:00
2020-02-18 11:25:12 +01:00
2020-08-05 21:58:22 +02:00
2020-02-18 11:25:12 +01:00
2020-08-05 21:58:22 +02:00
2020-08-03 12:41:44 +02:00
2018-11-26 17:59:10 +01:00
2019-09-04 15:59:38 +02:00
2020-07-10 10:29:33 +02:00
2016-06-23 10:09:17 +02:00
2020-01-29 19:03:31 +01:00
2020-02-18 11:25:12 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2020-01-28 17:58:06 +01:00
2020-08-05 21:46:53 +02:00
2018-07-06 10:41:21 +02:00
2020-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-07-12 17:27:26 +02:00
2018-06-27 17:56:59 +02:00
2019-06-25 15:44:43 -04:00
2019-06-25 15:44:43 -04:00
2020-03-11 13:45:58 +01:00
2016-06-23 10:09:17 +02:00
2020-03-11 13:45:58 +01:00
2019-08-18 14:02:01 +02:00
2019-08-18 14:02:01 +02:00
2020-06-05 21:34:52 -04:00
2020-06-05 21:34:52 -04:00
2020-08-05 21:58:22 +02:00
2019-07-19 14:14:33 -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-07-10 10:29:33 +02:00
2020-07-01 20:30:52 +02:00
2020-07-01 20:30:52 +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-04-07 17:42:02 +02:00
2020-08-05 21:58:22 +02:00
2016-06-23 10:09:17 +02:00
2016-03-29 14:43:55 +02:00