Jose,
You missed "linkage section", but I agree that compiler behavior is not
good in this case.
Regards,
Sergey
----- Original Message -----
From: "Jose Vilmar Estacio de Souza" <address@hidden>
To: <address@hidden>
Sent: Tuesday, February 14, 2006 5:46 AM
Subject: [open-cobol-list] a possible bug
Hi all.
Trying to compile the following program:
identification division.
program-id. t4.
environment division.
data division.
working-storage section.
77 ax pic 9(4).
procedure division using ax.
proc.
display "x"
stop run.
I'm geting the following error:
$ cobc -m t4.cob
In file included from /tmp/cob2780_0.c:50:
/tmp/cob2780_0.c.h: In function `t4_':
/tmp/cob2780_0.c.h:5: error: 'b_5' redeclared as different kind of symbol
/tmp/cob2780_0.c:44: error: previous definition of 'b_5' was here Thanks.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006