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

Bug#317294: marked as done (libc6-dev: g++-2.95/epoll.h conflict)



Your message dated Tue, 13 Feb 2007 01:04:09 +0100
with message-id <20070213000409.GA24600@hades.madism.org>
and subject line libc6-dev: g++-2.95/epoll.h conflict
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
  This compiler is not supported by debian anymore, even sarge.

closing

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpuwh_6UzqIi.pgp
Description: PGP signature


--- End Message ---

Reply to: