Bug#317294: libc6-dev: g++-2.95/epoll.h conflict
Package: libc6-dev
Version: 2.3.2.ds1-22
Severity: normal
/usr/include/sys/epoll.h
contains line:
extern int epoll_ctl (int __epfd, int __op, int __fd,
struct epoll_event *__event) __THROW;
The problem is in the second parameter name: __op.
"__op" in gcc 2.95 is in the "list of names reserved to the implementation":
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/BADNAMES
, it demangles into 'operator '
So when you try to compile something that includes epoll.h with g++-2.95,
you get the error:
/usr/include/sys/epoll.h:90: declaration of `operator ' as non-function
/usr/include/sys/epoll.h:90: confused by earlier errors, bailing out
gcc-2.95 package version:
$ dpkg -l gcc-2.95
[...]
ii gcc-2.95 2.95.4-22 The GNU C compiler
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-den
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages libc6-dev depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii linux-kernel-headers 2.5.999-test7-bk-17 Linux Kernel Headers for developme
-- no debconf information
Reply to: