[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 segfault
From: |
Dmitry Shatrov |
Subject: |
Re: [Gm2] gm2 segfault |
Date: |
Tue, 09 Oct 2007 22:57:54 +0400 |
В Втр, 09/10/2007 в 15:47 +0100, Gaius Mulley пишет:
> Dmitry Shatrov <address@hidden> writes:
>
> > The following program causes a segmentation fault (I do "gm2 -c
> > test.mod")
> >
> >
> > MODULE test;
> >
> > VAR A : CARDINAL;
> >
> > CONST B = A;
> >
> > END test.
>
> Hi Dmitry,
>
> can you check that you've done a cvs update in the gcc-4.1.2/gcc/gm2
> directory. Or you could
>
> cd gcc-4.1.2/gcc
> rm -rf gm2
> cvs -z3 -d:pserver:address@hidden:/sources/gm2 co gm2
> cd ../..
>
> and rebuild.
>
> My version of gm2 now detects this as a compile time error,
Same for me now (it says "cannot assign a variable to a constant").
I have a program for JPI Modula-2 in the front of me, and it looks like
in JPI such assignment is OK. Is it a deviation from PIM and/or ISO?
Regards,
Dmitry
- [Gm2] gm2 segfault, Dmitry Shatrov, 2007/10/07
- [Gm2] gm2 segfault, Dmitry Shatrov, 2007/10/09
- Re: [Gm2] gm2 segfault, Gaius Mulley, 2007/10/09
- Re: [Gm2] gm2 segfault,
Dmitry Shatrov <=
- Re: [Gm2] gm2 segfault, Gaius Mulley, 2007/10/12
- [Gm2] gm2 segfault (checked with GPM and XDS), John O Goyo, 2007/10/12
- [Gm2] gm2 segfault (checked with ULM), John O Goyo, 2007/10/12
- Re: [Gm2] gm2 segfault (checked with GPM and XDS), Andreas Fischlin, 2007/10/12
- Re: [Gm2] gm2 segfault (checked with GPM and XDS), Gaius Mulley, 2007/10/12