Re: 4gl compilation problem
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
> > 1. I'm having a problem compiling my 4gl code. > > Compilation goes thru phase 1,2 fine .. > > But finally gives an error in esqlc code, which it generates. > > The error looks like this > > esqlc: "main.ec", line 784: Error -33055: The name I0009BA1D_03A23402 > > has already been used. > > ... > > 4gl compiles through .ec to .c and then to a .o. There can be occasions > where what makes it through the 4gl compiler does not make it through on > of the other two. Look at the main.ec file and see what lives on line > 784. Look around and see if what resides there resides somewhere else. Could "I0009BA1D_03A23402" be an example of the cursor-name mangling that Jonathan has referred to in the past? Mark Collins mcollins@us.dhl.com Windows 95: 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit processor, written by a 2 bit company that can't stand 1 bit of competition.
Mark Collins wrote: > > > > 1. I'm having a problem compiling my 4gl code. > > > Compilation goes thru phase 1,2 fine .. > > > But finally gives an error in esqlc code, which it generates. > > > The error looks like this > > > esqlc: "main.ec", line 784: Error -33055: The name > > > I0009BA1D_03A23402 has already been used. > > > > ... > > > > 4gl compiles through .ec to .c and then to a .o. There can be > > occasions where what makes it through the 4gl compiler does not > > make it through on of the other two. Look at the main.ec file > > and see what lives on line 784. Look around and see if what > > resides there resides somewhere else. > > Could "I0009BA1D_03A23402" be an example of the cursor-name > mangling that Jonathan has referred to in the past? Yes, that's what it is. It is almost certainly due to a collision when two different names are hashed. I pointed out to the person asking the question what the various options were -- with luck, he'll read this message and post my reply to the news group. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>