Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #31029] [PATCH] IRIX64 (big-endian): avoid desperate casts

6 views
Skip to first unread message

Jarkko Hietaniemi

unread,
Aug 9, 2004, 4:52:57 PM8/9/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31029]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31029 >


Things like this

(int*)&something_not_int

just aren't cool. The attached patch does a horrible hack for
build_nativecall.pl to introduce the necessary temp variables.

With this patch IRIX64 is now passing all but one of the nci.t.
A separate report on that will follow.

--
Jarkko Hietaniemi <j...@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen

bunat.pat

Dan Sugalski

unread,
Aug 9, 2004, 5:20:41 PM8/9/04
to perl6-i...@perl.org, bugs-bi...@rt.perl.org, Jarkko Hietaniemi
At 1:52 PM -0700 8/9/04, Jarkko Hietaniemi (via RT) wrote:
>Things like this
>
> (int*)&something_not_int
>
>just aren't cool. The attached patch does a horrible hack for
>build_nativecall.pl to introduce the necessary temp variables.
>
>With this patch IRIX64 is now passing all but one of the nci.t.
>A separate report on that will follow.

Applied, thanks. (With some chagrin, as I'm responsible for that
particular monstrisity)
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages