[Pkg-vala-maintainers] Bug#741100: valac-0.22: GLib handling uses deprecated functions

Fabien Givors (Debian) f+debian at chezlefab.net
Sat Mar 8 14:39:04 UTC 2014


Package: valac-0.22
Version: 0.22.1-2
Severity: normal

Dear Maintainer,

While building the enclosed xdg-autostart.vala file, I noticed some
warnings issued by the C compiler and pointing out the use of deprecated
function:

xdg-autostart.vala.c: In function 'main':
xdg-autostart.vala.c:704:2: warning:
'g_type_init' is deprecated (declared at
/usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
  g_type_init ();
    ^

Or incompatible pointer casts:

xdg-autostart.vala.c: In function ‘autostart_xdg_autostart’:
xdg-autostart.vala.c:632:18: warning: assignment from incompatible
pointer type [enabled by default]
  _tmp4_ = _tmp3_ = g_get_system_config_dirs ();
                    ^
xdg-autostart.vala.c:668:3: warning: passing argument 2 of
‘g_hash_table_foreach’ from incompatible pointer type [enabled by default]
  g_hash_table_foreach (_tmp13_, _autostart_launch_file_gh_func, NULL);
  ^

I assume these warnings are caused by the the compilation of GLib vala
code into outdated GLib C code.

Best wishes,
Fabien

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages valac-0.22 depends on:
ii  libc6            2.17-97
ii  libglib2.0-0     2.38.2-5
ii  libglib2.0-dev   2.38.2-5
ii  libvala-0.22-0   0.22.1-2
ii  valac-0.22-vapi  0.22.1-2

valac-0.22 recommends no packages.

valac-0.22 suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdg-autostart.vala
Type: text/x-vala
Size: 4324 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20140308/0cc67106/attachment.bin>


More information about the Pkg-vala-maintainers mailing list