Hi,
>I try to compile embperl 1.3b5 on an Alpha running under Debian Linux
>and I get the following errormessage for about 30 lines:
>
>Embperl.c:520: warning: cast to pointer from integer of different size
>
>The appropriate lines in source look like this:
>------------
>tReq *  r;
>(...)
>r = (tReq *)(mg -> mg_len) ;
>                     ^^^^^
>------------
>which looks quite pointless to me, reading this I wonder why it
>works on Intel...

The a pointer to the Embperl request record is store as attached as magic.

As I see now the mg_len is declared as I32, so it has 32 Bit, but an pointer
on alpha has 64Bit, so it doesn't fit. On Intel both are 32 Bit and it
works.

I try to fix it and send you a note when a updated version is available

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Andre Landwehr" <[EMAIL PROTECTED]>
To: "Embperl List" <[EMAIL PROTECTED]>
Sent: Friday, October 06, 2000 7:26 PM
Subject: Compilation problem on Alpha Linux




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to