[Ecls-list] ECL trunk fails to build on an x86_64 system

Gabriel Dos Reis gdr at integrable-solutions.net
Fri Jan 16 04:07:27 UTC 2009


On Thu, Jan 15, 2009 at 2:33 PM, Gabriel Dos Reis
<gdr at integrable-solutions.net> wrote:
> Hi,
>
>  I just acquire a new quad core system running suse 11.1 and I proceeded
> with installing ECL (from CVS trunk) but ith no much luck.  See error message
> below.  This systems uses GCC-4.3.x   Attached is  the config.log in case it
> might bt useful.   Please let me know if you more information.

I had a brief look at the build log, and it seems that
GCC was complaining about casting
a pointer to an integer type of different size.

Indeed the macro IO_FILE_DESCRIPTOR (defined in h/internal.h)

  #define IO_FILE_DESCRIPTOR(strm) (int) ((strm)->stream.file)

is doing that.  I don't see any immediate reason for that cast
to be OK on x86_64 systems given the fact that the field  'file' is
declared of type void*.  Am I looking at the wrong definition?


-- Gaby




More information about the ecl-devel mailing list