|
From: | Bruce Zupek |
Subject: | [Bug-GnuCOBOL] cobc: codegen.c: 1124: internal compiler error using GnuCobol Version 3 Release 1 aunder MinGW |
Date: | Sat, 2 Jun 2018 10:35:24 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Simon please find a compiler
ending syntax below: CALL GlobalAlloc USING BY VALUE ZERO. It appears that a figurative constant used in a CALL statement Using BY VALUE clause trips the compiler. I have attached a sample program - TESTCLIP.COB The first 2 statements within the Procedure Division illustrate the error. CALL GlobalAlloc USING BY VALUE ZERO. You can remove the offending statements and the program will compile and execute properly. The compile parameters are indicated in the screenshot below. Regards Bruce Zupek |
TESTCLIP.COB
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |