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

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