All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] modem-manager: disable -Werror
@ 2018-05-21 20:39 Peter Korsgaard
  2018-05-21 21:50 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2018-05-21 20:39 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/5d9/5d9e299ff12726d07e8a584a213c1d2a2e419594/

The modem-manager build generates a number of build warnings like:

mm-base-manager.c: In function 'handle_set_logging':
mm-base-manager.c:680:15: error: assignment from incompatible pointer type [-Werror]
     ctx->self = g_object_ref (manager);

Which cause a build failure because of -Werror.  Pass
--disable-more-warnings to disable -Werror.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/modem-manager/modem-manager.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk
index 100c4a2941..fe4a7a95da 100644
--- a/package/modem-manager/modem-manager.mk
+++ b/package/modem-manager/modem-manager.mk
@@ -11,6 +11,7 @@ MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
 MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB
 MODEM_MANAGER_DEPENDENCIES = host-pkgconf host-intltool libglib2 libgudev
 MODEM_MANAGER_INSTALL_STAGING = YES
+MODEM_MANAGER_CONF_OPTS = --disable-more-warnings
 
 ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
 MODEM_MANAGER_DEPENDENCIES += libqmi
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] modem-manager: disable -Werror
  2018-05-21 20:39 [Buildroot] [PATCH] modem-manager: disable -Werror Peter Korsgaard
@ 2018-05-21 21:50 ` Peter Korsgaard
  2018-05-22  6:06   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2018-05-21 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/5d9/5d9e299ff12726d07e8a584a213c1d2a2e419594/

 > The modem-manager build generates a number of build warnings like:

 > mm-base-manager.c: In function 'handle_set_logging':
 > mm-base-manager.c:680:15: error: assignment from incompatible pointer type [-Werror]
 ctx-> self = g_object_ref (manager);

 > Which cause a build failure because of -Werror.  Pass
 > --disable-more-warnings to disable -Werror.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] modem-manager: disable -Werror
  2018-05-21 21:50 ` Peter Korsgaard
@ 2018-05-22  6:06   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2018-05-22  6:06 UTC (permalink / raw)
  To: buildroot

Hello Peter, Carlos,

> >>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>  > Fixes:
>  > http://autobuild.buildroot.net/results/5d9/5d9e299ff12726d07e8a584a213c1d2a2e419594/

>  > The modem-manager build generates a number of build warnings like:

>  > mm-base-manager.c: In function 'handle_set_logging':
>  > mm-base-manager.c:680:15: error: assignment from incompatible pointer type [-Werror]
>  ctx-> self = g_object_ref (manager);

>  > Which cause a build failure because of -Werror.  Pass
>  > --disable-more-warnings to disable -Werror.

>  > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

> Committed, thanks.

Peter, thanks for fixing this issue.
Carlos, thanks for handling this issue (IMHO you could have assign yourself as modem-manager
developer in DEVELOPERS).


Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-22  6:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 20:39 [Buildroot] [PATCH] modem-manager: disable -Werror Peter Korsgaard
2018-05-21 21:50 ` Peter Korsgaard
2018-05-22  6:06   ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.