gcc-4.7: Fix incorrect warning with -Wcast-qual
authorKhem Raj <raj.khem@gmail.com>
Mon, 11 Mar 2013 06:28:13 +0000 (23:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Mar 2013 18:33:28 +0000 (18:33 +0000)
commited48d1dce272a1389c77c25e953c5e2080afa0ee
treeba5249cf581b492bebf9f9e773886b61adcbd0db
parent9da1d36e1e326ad989abfb3e628d60168506b6e1
gcc-4.7: Fix incorrect warning with -Wcast-qual

This patch backport the fix where -Wcast-qual
reports a bogus warning with 4.7.2, There is
no workaround in code that can be done to avoid
it hence the fix to gcc is backported.

(From OE-Core rev: 5d8ef98225773a6ec88b5e1a76ce01d76163b3a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.7.inc
meta/recipes-devtools/gcc/gcc-4.7/wcast-qual-PR55383.patch [new file with mode: 0644]