Package: libc6-dev Version: 2.3.2.ds1-21 Severity: normal
Hello, consider the following example: #include <time.h> int main(void) { struct timespec a; nanosleep(&a, &a); return 0; } Compilation with "gcc -Wall -g -std=c99" produces the following errors: c.c: In Funktion »main«: c.c:5: error: storage size of `a' isn't known c.c:6: Warnung: implicit declaration of function `nanosleep' c.c:5: Warnung: unused variable `a' The same source is compiled finely without -std=c99. "gcc -v" output: Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.4/specs Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread-Modell: posix gcc-Version 3.3.4 (Debian 1:3.3.4-7) Thanks in advance, Baurzhan. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages libc6-dev depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii linux-kernel-headers 2.5.999-test7-bk-17 Linux Kernel Headers for developme -- no debconf information