[Top][All Lists]

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

Re: [Gm2] RndFile.CurrentPos returns 0 after write

From: SiTex Graphics
Subject: Re: [Gm2] RndFile.CurrentPos returns 0 after write
Date: Tue, 5 Jan 2010 17:52:09 -0500

Hi Gaius,

Thanks for this fix - the application now almost works correctly as coded.

I've encountered another odd compiler bug.  GM2 does not detect a NIL
value passed to a parameter that is a pointer type.  Test files (3)
attached.  Compile with:

gm2 -o zview -fiso -fmakeall zview.mod

A couple data points:

- Changing the parameter declaration to an ADDRESS instead of pointer
type ZViewPtr produces code that executes correctly.

- Removing the unused variable of type ZView from the main module also
produces working code.

For now I've used the first workaround, but this bug will bite often
in our code.


Attachment: zview.mod
Description: audio/mod

Attachment: zv.def
Description: Binary data

Attachment: zv.mod
Description: audio/mod

reply via email to

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