Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 22:15:12 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: AbiWord2-2.0.3 broken on alpha 4.x
Message-ID:  <opr2kl3mzo8ckrg5@smtp.central.cox.net>
In-Reply-To: <opr2klplm08ckrg5@smtp.central.cox.net>
References:  <20040130033535.GC73711@xor.obsecurity.org> <1075434389.2929.14.camel@shumai.marcuscom.com> <opr2klplm08ckrg5@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ahh, nevermind.. I just now got an email and it said that it has been 
fixed in the CVS.. Gotta to hunt in the CVS and create a patch, then send 
it to PR.

Cheers,
Mezz

On Thu, 29 Jan 2004 22:06:47 -0600, Jeremy Messenger <mezz7@cox.net> wrote:

> On Thu, 29 Jan 2004 22:46:29 -0500, Joe Marcus Clarke 
> <marcus@FreeBSD.org> wrote:
>
>> On Thu, 2004-01-29 at 22:35, Kris Kennaway wrote:
>>> http://bento.freebsd.org/errorlogs/alpha-4-latest/AbiWord2-2.0.3.log
>>>
>>> Can you please investigate and/or report to the developers?
>>
>> The developers know.  AbiWord is very anti-64-bit.  I think I should
>> just mark it only for i386.
>
> It's kind of off point, but I get the fail build on games/wesnoth (I am 
> maintainer) too. The error look almost same, but not same. I get this:
>
> ============================
> widgets/menu.cpp: In method `void gui::menu::handle_event(const 
> SDL_Event &)':
> widgets/menu.cpp:194: reinterpret_cast from `void *const' to `int' loses 
> precision
> widgets/menu.cpp:195: reinterpret_cast from `void *const' to `int' loses 
> precision
> ============================
>
> The code looks like:
> ============================
> 		if(event.type == SDL_MOUSEBUTTONDOWN) {
> 			x = event.button.x;
> 			y = event.button.y;
> 		} else {
> 			x = reinterpret_cast<int>(event.user.data1); /* 194 line here */
> 			y = reinterpret_cast<int>(event.user.data2);
> 		}
> ============================
>
> Do you think if I add an * in the <int> would solve this wesnoth's 
> problem on alpha build?
>
> Example:
> ============================
>   		} else {
> -			x = reinterpret_cast<int>(event.user.data1);
> -			y = reinterpret_cast<int>(event.user.data2);
> +			x = reinterpret_cast<int*>(event.user.data1);
> +			y = reinterpret_cast<int*>(event.user.data2);
>   		}
> ============================
>
> If I am wrong, then nevermind because I have submitted to the Wesnoth's 
> bug reports list.
>
> Thanks!
>
> Cheers,
> Mezz
>
>> Joe
>>
>>>
>>> Kris
>
>



-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr2kl3mzo8ckrg5>