gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Bug or user error in gm2-2011-04-09 Solaris 10/sparc


From: Gaius Mulley
Subject: Re: [Gm2] Bug or user error in gm2-2011-04-09 Solaris 10/sparc
Date: Wed, 27 Apr 2011 16:31:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

john o goyo <address@hidden> writes:

> Here is foreign.def:
>
> DEFINITION MODULE FOR "C" foreign;
>
> EXPORT UNQUALIFIED function;
>
> PROCEDURE function(c :CHAR);
>
> END foreign.
>
>
> Here is interface.mod:
>
> MODULE interface;
>
> IMPORT foreign;
>
> BEGIN
>   foreign.function('!')
> END interface.
>
>
> Here is what gm2 does:
>
>
> johng: 507 [tst-gm2]=> gm2 -c -fiso interface.mod
> interface.mod: In function '_M2_interface_init':
> interface.mod:5: error: invalid lvalue in unary '&'
>
> Please advise.
>
> john

Hi John,

all fixed now in the latest cvs - thanks again for the test code and bug
report,

regards,
Gaius



reply via email to

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