Skip to contentSkip to conversation

gcc-4.7: Fix incorrect warning with -Wcast-qual

PATCH New Khem Raj 1 participant 1 message Mar 11, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/gcc/gcc-4.7.inc              |    3 +-
 .../gcc/gcc-4.7/wcast-qual-PR55383.patch           |   43 ++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/wcast-qual-PR55383.patch
meta/recipes-devtools/gcc/gcc-4.7.inc +2 -1
index 8735e48..49f4010 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r18"
+PR = "r19"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.7.1
@@ -75,6 +75,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	   file://0001-crtstuff.c-USE_PT_GNU_EH_FRAME-Define-for-systems-us.patch \
 	   file://0001-Makefile.in-vis_hide-gen-hide-list-Do-not-make-defin.patch \
 	   file://use-ml-conf-files-from-B.patch \
+	   file://wcast-qual-PR55383.patch \
 	  "
 SRC_URI[md5sum] = "cc308a0891e778cfda7a151ab8a6e762"
 SRC_URI[sha256sum] = "8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084"
meta/recipes-devtools/gcc/gcc-4.7/wcast-qual-PR55383.patch new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
1.7.9.5