ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Anton D. Kachalov" <mouse@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: lua5-posix-2003.11.07-alt2: rebuild failed [1]
Date: Wed, 29 Jun 2005 10:09:16 +0400
Message-ID: <20050629060916.GA21492@basalt.office.altlinux.org> (raw)
In-Reply-To: <pan.2005.06.29.05.40.21.508738@altlinux.com>

On Wed, Jun 29, 2005 at 09:40:22AM +0400, Anton Farygin wrote:
> Отрывать патч, естественно.
Ничего естественного. Фиксить надо, а не отрывать.
Кстати, фиксил я lua5-5.x.x, а не lua5-posix-...

> 
> Это похоже последствия портирования на x86_64 ;-)

Это кривая lua. Вот из-за чего взялся этот патч (для lua5-5.0.2):
ltable.c: In function `luaH_mainposition':
ltable.c:108: warning: cast from pointer to integer of different size
ltable.c:110: warning: cast from pointer to integer of different size

Это из-за функции IntPoint (llimits.h):
/*
** conversion of pointer to integer
** this is for hashing only; there is no problem if the integer
** cannot hold the whole pointer value
*/
#define IntPoint(p)  ((lu_hash)(p))

А ещё <stdint.h>:
#if __WORDSIZE == 64
typedef long int                intptr_t;
typedef unsigned long int       uintptr_t;
#else
typedef int                     intptr_t;
typedef unsigned int            uintptr_t;
#endif

Есть предложение заменить intptr_t на uintptr_t.

Rgds,
Anton


  parent reply	other threads:[~2005-06-29  6:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29  3:00 ` Alexey Tourbin
2005-06-29  5:40   ` Anton Farygin
2005-06-29  5:59     ` Alexey Tourbin
2005-06-29  6:09     ` Anton D. Kachalov [this message]
2005-06-29  6:30       ` Alexey Tourbin
2005-06-29  8:09         ` Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050629060916.GA21492@basalt.office.altlinux.org \
    --to=mouse@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git