gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Potential woe with gm2-4.1.2


From: Gaius Mulley
Subject: Re: [Gm2] Potential woe with gm2-4.1.2
Date: Mon, 07 Oct 2013 10:30:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

john o goyo <address@hidden> writes:

> Could someone on the list please humour me by building and running the
> following with gm2-4.1.2?
>
> Thank you.
> john
>
> ===[other.def]===
> DEFINITION MODULE other;
>
> VAR
>   n :CARDINAL;
>
> END other.
>
> ===[other.mod]===
> IMPLEMENTATION MODULE other;
>
> BEGIN
>   n := 1
> END other.
>
> ===[main.mod]===
> MODULE main;
>
> FROM other IMPORT n;
>
> BEGIN
>   n := 1;
>   HALT
> END main.

Hi John,

it seems fine with gm2-4.1.2

$ gm2 --version
GNU Modula-2  1.0.5  (20130531)
  grafted onto GCC 4.1.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ gm2 -g -c other.mod 
$ gm2 -g main.mod
$ ./a.out 
Aborted

regards,
Gaius





reply via email to

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