Public bug reported: Affects: hal libhal-dev (Ubuntu) Severity: Normal Priority: (none set) Status: Unconfirmed
Description: This has been fixed in upstream versions of libhal. When compiling NetworkManager from cvs as of today (3/30/2006) i get this error: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../utils -I../../src -I../../src/named-manager -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=60 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -Wall -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -Wall -Werror -std=gnu89 -g -O2 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -MT libvpn_manager_la-nm-vpn-connection.lo -MD -MP -MF .deps/libvpn_manager_la-nm-vpn-connection.Tpo -c nm-vpn-connection.c -fPIC -DPIC -o .libs/libvpn_manager_la-nm-vpn-connection.o cc1: warnings being treated as errors In file included from ../../src/NetworkManagerMain.h:28, from ../../src/NetworkManagerDbusUtils.h:31, from nm-dbus-vpn.h:25, from nm-vpn-connection.c:25: /usr/include/hal/libhal.h:309: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here make[3]: *** [libvpn_manager_la-nm-vpn-connection.lo] Error 1 -- error in /usr/include/hal/libhal.h https://launchpad.net/malone/bugs/37355 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs