Date: Thu, 27 Jan 2011 10:59:37 -0600

        […]
        arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 
-mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb 
--sysroot=/oe/build-angstrom-next/angstrom-dev/s
        ysroots/armv7a-angstrom-linux-gnueabi -DHAVE_CONFIG_H -I. -I..  
-pthread -DORBIT2=1 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/incl
        ude/dbus-1.0 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include
 -I/oe/build-angstrom-next/angstrom-dev/sysro
        ots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
 -I/home/paul
        
/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/NetworkManager
 -I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-lin
        ux-gnueabi/usr/include/libnm-glib 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gtk-2.0
 -I/oe/build-angstrom-next/an
        
gstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/gtk-2.0/include 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/atk-1.
        0 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/cairo
 -I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstro
        m-linux-gnueabi/usr/include/pango-1.0 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/pixman-1
 -I/oe/build-angstrom-ne
        
xt/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/freetype2 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/lib
        png12 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gconf/2
 -I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-a
        ngstrom-linux-gnueabi/usr/include/orbit-2.0 
-I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gnome-keyring-1
    -DICONDIR=\""/usr
        /share/icons"\" -DUIDIR=\""/usr/share/nm-applet"\" 
-DBINDIR=\""/usr/bin"\" -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" 
-DAUTOSTARTDIR=\""/etc/xdg/autostart"\" -DVPN_NAM
        E_FILES_DIR=\""/etc/NetworkManager/VPN"\" 
-DNMALOCALEDIR=\"/usr/share/locale\"  -DG_DISABLE_DEPRECATED 
-DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_DEPRECATED -DATK_DISABLE_SINGLE_INC
        LUDES -DPANGO_DISABLE_DEPRECATED -DPANGO_DISABLE_SINGLE_INCLUDES 
-DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES 
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_
        INCLUDES -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES 
-DGCONF_DISABLE_DEPRECATED -DGCONF_DISABLE_SINGLE_INCLUDES 
-DBONOBO_DISABLE_DEPRECATED -DBONOBO_DISABLE_SINGLE_INCLU
        DES -DBONOBO_UI_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_SINGLE_INCLUDES 
-DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_SINGLE_INCLUDES 
-DLIBGLADE_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_S
        INGLE_INCLUDES -DVTE_DISABLE_DEPRECATED -DVTE_DISABLE_SINGLE_INCLUDES 
-DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_SINGLE_INCLUDES 
-DWNCK_DISABLE_DEPRECATED -DWNCK_DISABLE_SI
        NGLE_INCLUDES -DLIBSOUP_DISABLE_DEPRECATED 
-DLIBSOUP_DISABLE_SINGLE_INCLUDES -I../src/marshallers -I../src/utils 
-I../src/gconf-helpers -I../src/wireless-security   -Wall -Werror -
        std=gnu89 -fexpensive-optimizations -fomit-frame-pointer 
-frename-registers -O2 -ggdb2 -Wshadow -Wmissing-declarations 
-Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-eq
        ual -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -MT 
nm_applet-applet-dialogs.o -MD -MP -MF .deps/nm_applet-applet-dialogs.Tpo -c -o 
nm_applet-applet-dialogs.o `tes
        t -f 'applet-dialogs.c' || echo './'`applet-dialogs.c
        […]
        cc1: warnings being treated as errors
        applet-dialogs.c: In function 'applet_info_dialog_show':
        applet-dialogs.c:331:22: error: 'method' may be used uninitialized in 
this function
        make[3]: *** [nm_applet-applet-dialogs.o] Error 1
---
Unfortunately this patch is only in master and was not applied to 0.8.4
so that the build fails with the above error message [1]. Therefore in
OpenEmbedded we need to pass `--enable-more-warings=no` to `configure`.

This is a cherry-pick from master to a branch based on the tag 0.8.4.

Maybe a 0.8.4.1 release is planned.
---
 src/applet-dialogs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index 42f3d2b..5965a75 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -328,7 +328,7 @@ info_dialog_add_page (GtkNotebook *notebook,
        GtkTable *table;
        guint32 speed = 0;
        char *str;
-       const char *iface, *method;
+       const char *iface, *method = NULL;
        NMIP4Config *ip4_config;
        NMIP6Config *ip6_config;
        const GArray *dns;
-- 
1.7.4.4

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to