[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 segfault (checked with GPM and XDS)
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] gm2 segfault (checked with GPM and XDS) |
Date: |
12 Oct 2007 22:49:53 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Andreas Fischlin <address@hidden> writes:
> That's a correct diagnosis and the other compilers err, if they
> tolerate such a constant declaration.
>
> Andreas
>
> John O Goyo wrote:
> > Gaius Mulley wrote:
> >> Dmitry Shatrov <address@hidden> writes:
> > [...]
> >>>>> MODULE test;
> >>>>>
> >>>>> VAR A : CARDINAL;
> >>>>>
> >>>>> CONST B = A;
> >>>>>
> >>>>> END test.
> > [...]
> >>> 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
> > [...]
> >
> > I tried compiling Dmitry's example with the GPM and XDS compilers
> > (both ISO).
> >
> > Here is GPM's response:
> > =================================================
> > 5 CONST B = A;
> > **** ..........^ SemanticError # 208
> > **** 208 Identifier is not a constant ****
> > =================================================
> >
> >
> > Here is XDS's response:
> > =================================================
> > XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005
> >
> > Compiling "test.mod"
> >
> > * [test.mod 5.11 E087]
> > * expression should be constant
> > CONST B = $A;
> > errors 1, no warnings, lines 7, time 0.05
> > =================================================
> >
> > I suspect that we are seeing a JPI extension.
> > (I have the JPI manuals at home and will check over
> > the weekend.)
> >
Hi,
thanks to all for testing this code on other platforms,
regards,
Gaius
- [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, 2007/10/09
- 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 <=