Debian Bug report logs -
#15474
netinet/in.h causes compilation problems with C++
Reported by: Lars Wirzenius <liw@iki.fi>
Date: Sat, 29 Nov 1997 16:03:01 UTC
Severity: normal
Done: Joel Klecker <jk@espy.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
:
Bug#15474
; Package libc6.1-dev
.
(full text, mbox, link).
Acknowledgement sent to Lars Wirzenius <liw@iki.fi>
:
New bug report received and forwarded. Copy sent to Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6.1-dev
Version: 2.0.5c-0.1
This is the libc-dev that I have installed on the Debian/Alpha system
I'm using and maintaining.
Consider the following file (foo.cc):
#include <netinet/in.h>
int main(void) {
return 0;
}
The main program is there just to make sure the program is a correct
program.
If I compile this with c++, it fails:
$ c++ foo.cc
In file included from /usr/include/sys/types.h:126,
from /usr/include/netinet/in.h:25,
from foo.cc:2:
/usr/include/sys/select.h:48: conflicting types for `struct __fd_set'
/usr/include/linux/posix_types.h:46: previous declaration as `struct fd_set'
However, if I rename it to foo.c and compile with gcc, it works fine.
Since I don't understand C++ very well, I'll leave it to the relevant
maintainers to hunt the actual bug down.
(FWIW, this prevents me from compiling at least the abuse package for
the Alpha. :-)
Reply sent to Joel Klecker <jk@espy.org>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Lars Wirzenius <liw@iki.fi>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #12 received at 15474-done@bugs.debian.org (full text, mbox, reply):
It seems that this bug was fixed sometime in the past, I certainly
cannot reproduce it with the test case.
--
Joel Klecker (aka Espy) Debian GNU/Linux Developer
<URL:mailto:jk@espy.org> <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/> <URL:http://www.debian.org/>
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Apr 18 04:26:39 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.