Page MenuHomeFreeBSD

[contrib/bc] Only use fallthrough on GCC's that support it
Needs ReviewPublic

Authored by adrian on Dec 14 2020, 4:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 8:03 AM
Unknown Object (File)
Dec 19 2023, 5:38 PM
Unknown Object (File)
Apr 8 2023, 10:31 AM
Unknown Object (File)
Mar 22 2023, 7:49 AM
Unknown Object (File)
Dec 14 2022, 6:06 PM
Unknown Object (File)
Dec 9 2022, 9:21 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

attribute(fallthrough) only showed up in gcc-7. gcc-6 treats
it as an empty attribute and errors out.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 35398
Build 32315: arc lint + arc unit

Event Timeline

Can you get this accepted upstream?

In D27608#616994, @imp wrote:

Can you get this accepted upstream?

I've poked gavin@ to see if he's the right upstream and whether this is his. :-P