gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] INTEGER8 array element conversion error


From: SiTex Graphics
Subject: [Gm2] INTEGER8 array element conversion error
Date: Wed, 7 Apr 2010 19:57:22 -0400

Hi Gaius,

Thanks for taking a look at the INTEGER8 indexing problem.  I've
stumbled across another bug with INTEGER8 vars.  If an array element
of type INTEGER8 is returned from a function with a different return
type (INTEGER32 in this case), gm2 performs an incorrect conversion.
Test files attached.  Compile with:

gm2 -o test8 -fiso -fmakeall test8.mod

Returning a simple variable of type INTEGER8 seems to work fine.  XDS
and Stonybrook both automatically handle the conversion.

Thanks,
Scott

Attachment: return8.def
Description: Binary data

Attachment: return8.mod
Description: audio/mod

Attachment: test8.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]