]> code.ossystems Code Review - openembedded-core.git/commit
elfutils: Use fallthrough attribute
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 12 Feb 2018 16:52:12 +0000 (10:52 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Feb 2018 13:24:10 +0000 (13:24 +0000)
commitcd44cee91b5b17ddf617950d84513d481ab34f58
treeb7095c0b62e6c68797b307d5e15452f6f09463f4
parent8933c2b5cfa59f2289c574e196f945556790c7c1
elfutils: Use fallthrough attribute

Patches elfutils to use the fallthrough attribute instead of comments to
satisfy the -Wimplicit-fallthrough warning. Using comments is
insufficient when compiling remotely with Icecream because the file gets
pre-processed locally, removing the comments

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.170.bb
meta/recipes-devtools/elfutils/files/0001-Use-fallthrough-attribute.patch [new file with mode: 0644]
meta/recipes-devtools/elfutils/files/debian/fallthrough.patch [deleted file]