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

Bug#47789: marked as done (Programs that include <sys/io.h> cannot be build with current c++)



Your message dated Tue, 4 Apr 2000 09:59:24 -0400 (EDT)
with message-id <Pine.LNX.4.21.0004040957380.24600-100000@spawn.besmarter.com>
and subject line sys/io.h has been repaired...test programme compiles now
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; 19 Oct 1999 11:46:49 +0000
Received: (qmail 26622 invoked from network); 19 Oct 1999 11:46:46 -0000
Received: from dc2-modem801.dial.xs4all.nl (HELO emperor.linux.org) (194.109.131.33)
  by master.debian.org with SMTP; 19 Oct 1999 11:46:46 -0000
Received: by xs4all.nl
	via sendmail from stdin
	id <m11dXe1-000VqqC@emperor.linux.org> (Debian Smail3.2.0.102)
	for submit@bugs.debian.org; Tue, 19 Oct 1999 13:41:33 +0200 (CEST) 
Date: Tue, 19 Oct 1999 13:41:33 +0200
From: Bart Warmerdam <bartw@xs4all.nl>
To: submit@bugs.debian.org
Subject: Programs that include <sys/io.h> cannot be build with current c++
Message-ID: <19991019134133.A26606@xs4all.nl>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA"
User-Agent: Mutt/1.0pre3i


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii


Package: libc6.1-dev
Version: 2.1.2-5

Symptom: c++ -O2 sys_io_h.cc (program attached) gives
In file included from /usr/include/asm/io.h:5,
                 from /usr/include/sys/io.h:27,
		 from sys_io_h.cc:2:
/usr/include/asm/system.h: In function `long
	unsigned int __xchg(long unsigned int, volatile void *, int)':
/usr/include/asm/system.h:339: ANSI C++
	forbids implicit conversion from `void *' in argument passing
/usr/include/asm/system.h:341: ANSI C++
	forbids implicit conversion from `void *' in argument passing

Headerfile needs some editing.

Thanks,

B.

--
B. Warmerdam                                              GNU/Debian Linux
bartw@xs4all.nl, bartw@debian.org (Keyid: 10A0FDD1)       ----------------

--AqsLC8rIMeq19msA
Content-Type: text/x-c++src
Content-Disposition: attachment; filename="sys_io_h.cc"

#include <stdio.h>
#include <sys/io.h>

int main()
{
	exit(0);
}

--AqsLC8rIMeq19msA--
---------------------------------------
Received: (at 47789-done) by bugs.debian.org; 4 Apr 2000 13:59:26 +0000
Received: (qmail 28465 invoked from network); 4 Apr 2000 13:59:26 -0000
Received: from spawn.besmarter.com (mail@208.178.115.58)
  by master.debian.org with SMTP; 4 Apr 2000 13:59:26 -0000
Received: from localhost ([127.0.0.1] ident=chris)
	by spawn.besmarter.com with esmtp (Exim 3.12 #1 (Debian))
	id 12cTrY-00079b-00; Tue, 04 Apr 2000 09:59:24 -0400
Date: Tue, 4 Apr 2000 09:59:24 -0400 (EDT)
From: "Christopher C. Chimelis" <chris@debian.org>
X-Sender: chris@spawn.besmarter.com
To: 47789-done@bugs.debian.org
cc: debian-glibc@lists.debian.org
Subject: sys/io.h has been repaired...test programme compiles now
Message-ID: <Pine.LNX.4.21.0004040957380.24600-100000@spawn.besmarter.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I just tested your sample programme and it now compiles fine on Alpha with
glibc 2.1.3-7.  There were some changes with 2.1.3 that seems to have also
included a fix for this problem.

C


Reply to: