conflicint usleep definitions

2006-07-22 Thread Martin Michlmayr
Is this a known issue?

 Automatic build of xmms-jess_2.9.1-8 on juist by sbuild/alpha 0.44
...
  gcc -c -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
 -I/usr/lib/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall 
 -g -mieee -O2 -pipe -ansi -ffast-math -DPIC -fPIC jess.c  -fPIC -DPIC -o 
 .libs/jess.o
 In file included from jess.c:20:
 def.h:19:1: warning: LINE_MAX redefined
 In file included from /usr/include/limits.h:148,
  from 
 /usr/lib/gcc-snapshot/lib/gcc/alpha-linux-gnu/4.2.0/include/limits.h:122,
  from 
 /usr/lib/gcc-snapshot/lib/gcc/alpha-linux-gnu/4.2.0/include/syslimits.h:7,
  from 
 /usr/lib/gcc-snapshot/lib/gcc/alpha-linux-gnu/4.2.0/include/limits.h:11,
  from /usr/lib/glib/include/glibconfig.h:9,
  from /usr/include/glib-1.2/glib.h:66,
  from /usr/include/xmms/plugin.h:27,
  from jess.c:11:
 /usr/include/bits/posix2_lim.h:82:1: warning: this is the location of the 
 previous definition
 jess.c:30: error: conflicting types for 'usleep'
 /usr/include/unistd.h:405: error: previous declaration of 'usleep' was here
 make[1]: *** [jess.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


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



Bug#379329: locales: Incorrect decimal point for german locale (LC_NUMERIC)

2006-07-22 Thread Helge Kreutzmann
Package: locales
Version: 2.3.6-15
Severity: important
Tags: l10n

I am developing an app in perl which should handle numeric values
depending on the locale. I read the perllocale value, and ran the
sample programm from there:
#!/usr/bin/perl

use POSIX qw(locale_h);

# Get a reference to a hash of locale-dependent info
$locale_values = localeconv();

# Output sorted list of the values
for (sort keys %$locale_values) {
printf %-20s = %s\n, $_, $locale_values-{$_}
}

I tried it in [EMAIL PROTECTED], as well as in de_DE, I set LANG, LC_ALL, 
LC_NUMERIC, but I always get the following output for
decimal_point = .

The decimal point in the german locale is ,, as is correctly set in 
mon_decimal_point= ,

Entering numerical values in my locale is quite important, especially
since the key in the numeric keypad is mapped to ,. 

I don't know where the error comes from, but as the perllocale man
page clearly states, that brokeness (if present) comes from the
locales package, I report it here. If it is indeed a perl bug, please
reassign.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.6-grsec-cz03
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages locales depends on:
ii  debconf [debconf-2.0] 1.5.2  Debian configuration management sy
ii  libc6 [glibc-2.3.6-2] 2.3.6-15   GNU C Library: Shared libraries

locales recommends no packages.

-- debconf information:
* locales/default_environment_locale: [EMAIL PROTECTED]
* locales/locales_to_be_generated: [EMAIL PROTECTED] ISO-8859-15, de_DE 
ISO-8859-1, [EMAIL PROTECTED] UTF-8, de_DE.UTF-8 UTF-8, en_GB ISO-8859-1, 
en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8 UTF-8, [EMAIL PROTECTED] 
ISO-8859-15, en_IE ISO-8859-1, [EMAIL PROTECTED] UTF-8, en_IE.UTF-8 UTF-8, 
[EMAIL PROTECTED] ISO-8859-15, pl_PL ISO-8859-2
-- 
  Dr. Helge Kreutzmann [EMAIL PROTECTED]
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software libre: http://www.ffii.de/


signature.asc
Description: Digital signature