On Sat, Oct 5, 2019 at 10:48 AM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > On Sat, Oct 5, 2019 at 6:47 PM Joe Perches <joe@xxxxxxxxxxx> wrote: > > > > +When the C17/C18 [[fallthrough]] syntax is more commonly supported by > > Note that C17/C18 does not have [[fallthrough]]. C++17 introduced it, > as it is mentioned above. I would keep the > __attribute__((fallthrough)) -> [[fallthrough]] change you did, > though, since that is indeed the standard syntax (given the paragraph > references C++17). > > I was told by Aaron Ballman (who is proposing them for C) that it is > more or less likely that it becomes standardized in C2x. However, it > is still not added to the draft (other attributes are already, > though). See N2268 and N2269: > > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2268.pdf (fallthrough) > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2269.pdf > (attributes in general) > Interesting. I think those links might be useful to include, or drop the section on C++ style attributes outright. Either way: Acked-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> -- Thanks, ~Nick Desaulniers