Bug#348896: libc6-dev: implicit declaration of function swab

2008-07-08 Thread Diego Biurrun
Package: libc6-dev
Version: 2.7-12
Followup-For: Bug #348896


I do not get the compilation failure of the original reporter and have
no trouble using the unistd.h header with a #define __USE_XOPEN just
before it.

However, I also need the #ifdef, which should not be required.  Is this
bug going to be addressed?

best regards

Diego

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.23
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-dev depends on:
ii  libc6 2.7-12 GNU C Library: Shared libraries
ii  linux-libc-dev2.6.25-6   Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]  4:4.3.1-2  The GNU C compiler
ii  gcc-3.3 [c-compiler]  1:3.3.6-15 The GNU C compiler
ii  gcc-3.4 [c-compiler]  3.4.6-6The GNU C compiler
ii  gcc-4.0 [c-compiler]  4.0.3-7The GNU C compiler
ii  gcc-4.1 [c-compiler]  4.1.2-23   The GNU C compiler
ii  gcc-4.2 [c-compiler]  4.2.4-3The GNU C compiler
ii  gcc-4.3 [c-compiler]  4.3.1-5The GNU C compiler

-- no debconf information



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



Bug#348896: libc6-dev: implicit declaration of function swab

2006-01-19 Thread Mathieu Malaterre
Package: libc6-dev
Version: 2.3.5-8
Severity: normal

One cannot use the swab function without producing a warning. Indeed
unistd.h defines it within a __USE_XOPEN ifdef, whereas this should 
not be needed according to:

http://www.opengroup.org/onlinepubs/009695399/functions/swab.html

But then if one do:
#define __USE_XOPEN
#include unistd.h

one get:
/usr/include/sys/wait.h:115: error: syntax error before '__stat_loc'
/usr/include/sys/wait.h:168: error: syntax error before '__stat_loc'
/usr/include/sys/wait.h:178: error: syntax error before '__WAIT_STATUS'



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (989, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libc6-dev depends on:
ii  libc6  2.3.5-8   GNU C Library: Shared libraries an
ii  linux-kernel-headers   2.6.13+0rc3-2 Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler] 4:4.0.2-2   The GNU C compiler
ii  gcc-2.95 [c-compiler]1:2.95.4-22 The GNU C compiler
ii  gcc-3.2 [c-compiler] 1:3.2.3-9   The GNU C compiler
ii  gcc-3.3 [c-compiler] 1:3.3.6-10  The GNU C compiler
ii  gcc-3.4 [c-compiler] 3.4.5-1 The GNU C compiler
ii  gcc-4.0 [c-compiler] 4.0.2-5 The GNU C compiler

-- no debconf information


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