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 05:28:15 +0000 (00:28 -0500)
commitdc346674c4b5609e15560820b33e533e73213b32
tree83667f9a8becb00b7b47169fac0c82383f2f0983
parente6900f081a7bce47b7c6660a6510aeb021751fb1
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