Hi everyone,
I am using Centos 8.
when i launch the compiler i have this output for the gnucobol version 3.0-rc, gnucobol version 3.1.2 and gnucobol version 3.2-dev:
[303494]$ bash compil-MDGFK10.sh COMPILATION DE > ./MDGFK10.cob In file included from /tmp/cob14930_0.c:24: /tmp/cob14930_0.c.h:172:44: error: « a_xx » non déclaré ici (hors de toute fonction); vouliez-vous utiliser « a_xx » ? static cob_field f_392 = {1, b_350 + 634, &a_xx}; /* INDICE */ ^~~~ a_xx
But in version 4.0-early the compiler works.
[303494]$ bash compil-MDGFK10.sh COMPILATION DE > ./MDGFK10.cob
Here is the code reproduced in attachment .
Thank for your help.
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Definitely an error in cobc. Will inspect for a fix in 4.x; placed in the next que. Thanks for the report.
Note: if that's a clear bug like this one you may directly create a bug report. https://sourceforge.net/p/gnucobol/bugs/
Thanks for your response @sf-mensch
Hi everyone,
I am using Centos 8.
when i launch the compiler i have this output for the gnucobol version 3.0-rc, gnucobol version 3.1.2 and gnucobol version 3.2-dev:
But in version 4.0-early
the compiler works.
Here is the code reproduced in attachment .
Thank for your help.
Last edit: M_D 2021-10-07
Definitely an error in cobc. Will inspect for a fix in 4.x; placed in the next que.
Thanks for the report.
Note: if that's a clear bug like this one you may directly create a bug report.
https://sourceforge.net/p/gnucobol/bugs/
Thanks for your response @sf-mensch