[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351366: redundant ctermid declaration (causes FTBFS)



Package: libc6-dev
Version: 2.3.5-8.1
Severity: important

This causes FTBFS in packages with such (overstrict IMHO) CFLAGS.

  rmh@aragorn:/tmp$ cat test.c
  #include <stdio.h>
  #include <unistd.h>
  rmh@aragorn:/tmp$ gcc -D_GNU_SOURCE -Werror -Wsystem-headers -Wredundant-decls -c test.c
  cc1: warnings being treated as errors
  In file included from test.c:2:
  /usr/include/unistd.h:1040: warning: redundant redeclaration of 'ctermid'
  /usr/include/stdio.h:779: warning: previous declaration of 'ctermid' was here

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages libc6-dev depends on:
ii  libc6                      2.3.5-8.1     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-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



Reply to: