Package: xoscope
Version: 1.12-2
Severity: important
Justification: fails to build from source

xoscope fails to build on Alpha:

[...]
cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include    -g -Wall -O2 -c gr_gtk.c
gr_gtk.c: In function 'setbits':
gr_gtk.c:524: warning: cast from pointer to integer of different size
gr_gtk.c: At top level:
gr_gtk.c:670: error: initializer element is not constant
gr_gtk.c:670: error: (near initialization for 'menu_items[2].callback_action')
gr_gtk.c:671: error: initializer element is not constant
gr_gtk.c:671: error: (near initialization for 'menu_items[3].callback_action')
gr_gtk.c:676: error: initializer element is not constant
[...]

The lines look like this:

  {"/File/Quit", NULL, hit_key, (int)"\e", NULL},

Casting is not allowed in an initializer, and moreover casting a
pointer to int will only yield garbage on a 64-bit machine. It only
happens to "work" on i386 due to a gcc quirk.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: alpha
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to