From owner-freebsd-ports@FreeBSD.ORG Mon Jul 7 17:20:24 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B23D41065671; Mon, 7 Jul 2008 17:20:24 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6A65D8FC15; Mon, 7 Jul 2008 17:20:24 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KFuNz-0000hG-AY; Mon, 07 Jul 2008 19:20:23 +0200 Message-ID: <48725051.3090601@FreeBSD.org> Date: Mon, 07 Jul 2008 19:20:17 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Kostik Belousov References: <200807071619.m67GJrPt096421@freefall.freebsd.org> <487245AE.1030307@FreeBSD.org> <20080707164119.GG17123@deviant.kiev.zoral.com.ua> In-Reply-To: <20080707164119.GG17123@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org, fjoe@freebsd.org, bug-followup Subject: Re: ports/124985: [patch] devel/dmucs unbreak on 64bits archs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 17:20:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Kostik Belousov wrote: | On Mon, Jul 07, 2008 at 06:34:54PM +0200, Pietro Cerutti wrote: |> I definitely do not agree. Please note that a pointer is not required to |> fit into a long, while it is required to fit into a size_t. | I do not think that C99 requires the size_t to be capable of holding | the pointer. size_t is only required to hold result of sizeof. size_t is required to be of rank equal to or greater than any other object you can create from within the C language. This implies that it can (i.e., it is required to be able to) hold a pointer type. | | It is intptr_t type that shall do it. Unfortunately intptr_t is not defined prior to C99, and I still haven't got used to use it. Yes, that would be the preferred solution. - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhyUFAACgkQwMJqmJVx947UnACcDktT+bwe6LLs3/YPBief8PO3 Ku8AoN6AUlCVXmnbbyBEIdVLDORUdWpr =IGu+ -----END PGP SIGNATURE-----