bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [Bug-GnuCOBOL] WHEN-COMPILED is a reserved word, but isn't supported


From: Edward Hart
Subject: Re: [Bug-GnuCOBOL] WHEN-COMPILED is a reserved word, but isn't supported
Date: Thu, 14 Dec 2017 20:15:11 +0000

An announcement should be posted to the gnucobol-users mailing list and to the "State of the Project" thread on SourceForge. If you're keen to test the fix now, you can download and compile the source.

On 14 December 2017 at 19:52, Martin Ward <address@hidden> wrote:
On 14/12/17 19:39, Edward Hart wrote:
Whoops! Make that -fregister=WHEN-COMPILED -fnot-reserved=WHEN-COMPILED, then.

cobc -fstatic-call -fregister=WHEN-COMPILED -fnot-reserved=WHEN-COMPILED -std=mf -C D9EDB05P-trace.cbl
D9EDB05P-trace.cbl: in section 'MAIN':
D9EDB05P-trace.cbl: 176: error: 'WHEN-COMPILED' is not defined

Apparently the order is important:

cobc -fstatic-call -fnot-reserved=WHEN-COMPILED -fregister=WHEN-COMPILED -std=mf -C D9EDB05P-trace.cbl

this works! Thanks.

Can you let me know when the release candidate for GnuCOBOL 3.0
is available which fixes the bug with ACCEPT FROM DAY,
so that I can test it?


--
                        Martin

Dr Martin Ward | Email: address@hidden | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4


reply via email to

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