rts: Disable fallthrough attribute when compiling with Clang
authorBen Gamari <ben@smart-cactus.org>
Tue, 11 Dec 2018 02:48:51 +0000 (21:48 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 11 Dec 2018 15:03:40 +0000 (10:03 -0500)
commit6a71add81d8f30b0caca0e869fb8e35787881c87
tree7d315265acf499df84db949dd0ff218dff01b28a
parente709c8f8d45c699840f5bab7c9ff71373a53b8b0
rts: Disable fallthrough attribute when compiling with Clang

Apparently clang doesn't enable implicitly fallthrough warnings by default
http://llvm.org/viewvc/llvm-project?revision=167655&view=revision when compiling
C and the attribute cause warnings of their own (#16019).
includes/Stg.h