AbiWord2-2.0.3 broken on alpha 4.x
Jeremy Messenger
mezz7 at cox.net
Thu Jan 29 20:07:36 PST 2004
On Thu, 29 Jan 2004 22:46:29 -0500, Joe Marcus Clarke <marcus at 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.
More information about the freebsd-gnome
mailing list