Skip to contentSkip to conversation

metacity: allow for warnings during compilation

PATCH In review Joe Slater 2 participants 3 messages Jun 23, 2018 – Jun 25, 2018

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 metacity: allow for warnings during compilation

Add a PACKAGECONFIG option which lets us permit warnings during compilation until warnings from new compiler versions are dealt with.

---
 meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +5 -0
index ce97a80..948c2f1 100644
@@ -23,6 +23,11 @@ SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"
 
 EXTRA_OECONF += "--disable-xinerama"
 
+PACKAGECONFIG ?= ""
+
+# enable as neccessary until new warnings are dealt with
+PACKAGECONFIG[noWerror] = "--disable-Werror,,,"
+
 do_configure_prepend() {
     cd ${S}
     aclocal --install || exit 1
Signature · 1 line
2.7.4
#1 lore raw
Quoted 15 lines · Joe Slater

Add a PACKAGECONFIG option which lets us permit warnings during compilation until warnings from new compiler versions are dealt with.

---
 meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +0 -0
index ce97a80..948c2f1 100644

meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f" · line 27

Quoted 5 lines
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +2 -0
@@ -23,6 +23,11 @@ SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"
 
 EXTRA_OECONF += "--disable-xinerama"
 
+PACKAGECONFIG ?= ""
+

since we defaulted to gcc8 in oe-core, perhaps its better to turn it on by default.

Quoted 14 lines
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +3 -1
+# enable as neccessary until new warnings are dealt with
+PACKAGECONFIG[noWerror] = "--disable-Werror,,,"
+
 do_configure_prepend() {
     cd ${S}
     aclocal --install || exit 1
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

I think it is better to have to take an action to cover up an issue rather than need to do something to expose it, but either way gives you a choice.

Joe

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Saturday, June 23, 2018 5:31 PM
To: Slater, Joseph
Cc: openembeded-devel
Subject: Re: [oe] [meta-gnome][PATCH 1/1] metacity: allow for warnings during compilation

Quoted 15 lines · Joe Slater

Add a PACKAGECONFIG option which lets us permit warnings during compilation until warnings from new compiler versions are dealt with.

---
 meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +0 -0
index ce97a80..948c2f1 100644

meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f" · line 27

Quoted 5 lines
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +2 -0
@@ -23,6 +23,11 @@ SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"
 
 EXTRA_OECONF += "--disable-xinerama"
 
+PACKAGECONFIG ?= ""
+

since we defaulted to gcc8 in oe-core, perhaps its better to turn it on by default.

Quoted 14 lines
meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb +3 -1
+# enable as neccessary until new warnings are dealt with
+PACKAGECONFIG[noWerror] = "--disable-Werror,,,"
+
 do_configure_prepend() {
     cd ${S}
     aclocal --install || exit 1
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel