Menu

Gnucobol version 4

M_D
2021-09-15
2021-09-15
  • M_D

    M_D - 2021-09-15

    Hi everyone,

    i've another question, sorry ... .
    When i use REDEFINES i have some bugs.
    My code works on the 3.0-rc and 4.0 (1 redefines VAR) but i have an infinite loop on the compiler in version 3.1.2 and 3.2 ?
    For fix this bug i use : 1 VAR-1 redefines VAR.
    Now my question is the 4.0 take this origin to the 3.0-rc?
    So the code doesn't work on the 3.1.2 , it will not work on 4.0 later?
    Otherwise why not actually working on the 3.1.2 ?

    Thank for your help.

     
    • Simon Sobisch

      Simon Sobisch - 2021-09-15

      trunk (as 4.x) had a common anchestry with 3.x until [r3263] (end of August 2019), 3.0rc-1 was created with [r3045] (March 2019).

      There are adjustments between 3.x and 4.x, so the "feature/bugfix" that leads to the infinite loop likely gets merged to 4.x soon, if you don't provide a COBOL sample (just attach a minimal program) together with a command line that leads to the loop.

      Not all of 3.x was already merged to 4.x and a huge part of the 4.x changes will not be merged to 3.x (like runtime configuration "per file", multiple interfaces for ORGANIZATION INDEXED, new interfaces ODBC/OCI, changes in file formats for increased portability, internal API changes allowing faster and easier to extend code, ... - these are all 4.x+ only features).

      As 3.2 is in sight: it would be good to post any compile issues you see in 3.2 (especially, but not limited to those not seen in 4.x/3.0rc1), allowing us to fix those before releasing that version. Note: a "does not work" won't help, code + command line do.

       

Anonymous
Anonymous

Add attachments
Cancel