Re: [evolution-patches] small 64-bit cleanliness fixes
- From: Rodrigo Moya <rodrigo novell com>
- To: davidm hpl hp com
- Cc: Evolution Patches <evolution-patches lists ximian com>, davidm napali hpl hp com
- Subject: Re: [evolution-patches] small 64-bit cleanliness fixes
- Date: Wed, 08 Dec 2004 11:58:39 +0100
On Wed, 2004-12-01 at 17:10 -0800, David Mosberger wrote:
> Hi,
>
> I needed the attached small patch to get CVS evolution to not crash on
> startup on an ia64 linux box (running Debian/unstable).
>
> With the patch applied, I get the expected layout of windows and the
> mail component seems to be working fine. Other components don't seem
> to work correctly yet, apparently because evolution is failing to load
> the addressbook. For example:
>
> (evolution-2.2:16582): evolution-addressbook-WARNING **: error loading addressbook : e_book_new: no factories available for uri `file:///home/davidm/.evolution/addressbook/local/system'
>
> Anyhow, the reason evolution crashed on startup was that various
> *get_type() routines got implicitly declared to return "int" when they
> really return GType, which is 64 bits on 64-bit platforms. As a
> result, the top 32 bits of the GType got truncated away and when
> attempting to dereference the truncated value, the program would
> crash.
>
> One caveat: in mail-component.c, I had to include
> "em-format-html-display.h" later than the other "em-*" includes.
> That's because it depends on some Gdk types which get defined only
> later on. You may want to handle that part differently.
>
calendar part looks ok, although it misses the ChangeLog entry
--
Rodrigo Moya <rodrigo novell com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]