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

Bug#15474: marked as done (netinet/in.h causes compilation problems with C++)



Your message dated Tue, 21 Sep 1999 11:53:22 -0700
with message-id <v04205502b40d84524cdc@[206.163.71.146]>
and subject line Fixed
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Nov 1997 15:53:50 +0000
Received: (qmail 17047 invoked from network); 29 Nov 1997 15:53:48 -0000
Received: from cupido.cs.hut.fi (root@cupido.cs.hut.fi@130.233.193.44)
  by 205.229.104.5 with SMTP; 29 Nov 1997 15:53:48 -0000
Received: from cupido.cs.hut.fi ([127.0.0.1]) by cupido.cs.hut.fi
	 with esmtp (ident liw using rfc1413) id m0xbpFL-000shGC
	(Debian Smail-3.2 1996-Jul-4 #2); Sat, 29 Nov 1997 17:55:55 +0200 (EET)
Message-Id: <m0xbpFL-000shGC@cupido.cs.hut.fi>
From: Lars Wirzenius <liw@iki.fi>
X-No-Archive: yes
To: submit@bugs.debian.org
Subject: netinet/in.h causes compilation problems with C++
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 29 Nov 1997 17:55:55 +0200
Sender: liw@cupido.cs.hut.fi

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. :-)


---------------------------------------
Received: (at 15474-done) by bugs.debian.org; 23 Sep 1999 02:40:01 +0000
Received: (qmail 29912 invoked from network); 23 Sep 1999 02:40:01 -0000
Received: from cerberus.espy.org (mail@206.163.71.145)
  by master.debian.org with SMTP; 23 Sep 1999 02:40:01 -0000
Received: from hercules.espy.org [206.163.71.146] 
	by cerberus.espy.org with esmtp (Exim 3.03 #1 (Debian GNU/Linux))
	id 11Tyng-00081S-00; Wed, 22 Sep 1999 19:40:00 -0700
Mime-Version: 1.0
X-Sender: jk@mail.espy.org
Message-Id: <v04205502b40d84524cdc@[206.163.71.146]>
Date: Tue, 21 Sep 1999 11:53:22 -0700
To: 15474-done@bugs.debian.org
From: Joel Klecker <jk@espy.org>
Subject: Fixed
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

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/>


Reply to: