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

Bug#175027: marked as done (dev_t problems with non-gcc compilers)



Your message dated Thu, 2 Jan 2003 08:50:39 -0500
with message-id <20030102135039.GB10180@hopper.phunnypharm.org>
and subject line Bug#175027: dev_t problems with non-gcc compilers
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jan 2003 13:30:47 +0000
>From tss@iki.fi Thu Jan 02 07:30:46 2003
Return-path: <tss@iki.fi>
Received: from ip213-185-36-189.laajakaista.mtv3.fi (hurina) [213.185.36.189] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18U5Qs-0004IO-00; Thu, 02 Jan 2003 07:30:46 -0600
Received: by hurina (Postfix, from userid 1000)
	id 47B5B5E01F96; Thu,  2 Jan 2003 15:30:45 +0200 (EET)
Subject: dev_t problems with non-gcc compilers
From: Timo Sirainen <tss@iki.fi>
To: submit@bugs.debian.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Organization: 
Message-Id: <[🔎] 1041514244.29609.305.camel@hurina>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.0 
Date: 02 Jan 2003 15:30:45 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: libc6
Version: 2.3.1-8

sys/sysmacros.h seems to use different method to determine if dev_t is
unsigned long long or an array type than the actual dev_t declaration.
Here's a test program that fails with tcc (included with Debian):

#include <stdio.h>
#include <sys/types.h>
#include <sys/sysmacros.h>

int main(int argc, char *argv[])
{
        dev_t x = 0;

        printf("%d %d\n", major(x), minor(x));
        return 0;
}

Results as:

test2.c:9: struct or union expected


---------------------------------------
Received: (at 175027-done) by bugs.debian.org; 2 Jan 2003 13:50:41 +0000
>From bmc@phunnypharm.org Thu Jan 02 07:50:41 2003
Return-path: <bmc@phunnypharm.org>
Received: from blowme.phunnypharm.org [65.207.35.140] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18U5k9-0006PS-00; Thu, 02 Jan 2003 07:50:41 -0600
Received: from hopper.phunnypharm.org ([192.168.0.13] ident=mail)
	by blowme.phunnypharm.org with esmtp (Exim 3.35 #1 (Debian))
	id 18U5k7-00061a-00; Thu, 02 Jan 2003 08:50:39 -0500
Received: from bmc by hopper.phunnypharm.org with local (Exim 3.36 #1 (Debian))
	id 18U5k7-0007W8-00; Thu, 02 Jan 2003 08:50:39 -0500
Date: Thu, 2 Jan 2003 08:50:39 -0500
From: Ben Collins <bcollins@debian.org>
To: Timo Sirainen <tss@iki.fi>, 175027-done@bugs.debian.org
Subject: Re: Bug#175027: dev_t problems with non-gcc compilers
Message-ID: <20030102135039.GB10180@hopper.phunnypharm.org>
References: <[🔎] 1041514244.29609.305.camel@hurina>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 1041514244.29609.305.camel@hurina>
User-Agent: Mutt/1.4i
Delivered-To: 175027-done@bugs.debian.org
X-Spam-Status: No, hits=-16.0 required=5.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 

On Thu, Jan 02, 2003 at 03:30:45PM +0200, Timo Sirainen wrote:
> Package: libc6
> Version: 2.3.1-8
> 
> sys/sysmacros.h seems to use different method to determine if dev_t is
> unsigned long long or an array type than the actual dev_t declaration.
> Here's a test program that fails with tcc (included with Debian):

This is a duplicate bug to 175025. Closing this one to avoid wasted
space.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: