RE: Migration issues
Posted in 1998
> Carlson@WHSmith wrote > Clem Akins wrote: > > > > At 02:04 PM 12-08-98 GMT, Nils Myklebust wrote: > > [...] <good advice snipped> > > >I seem to remember there might be some other small problems when > > >recompiling your 4GL programs, but not what they where. Perhaps a year > > >ago or so there where several posts here in c.d.i. about the issue > > >that you may be able to find at http://www.dejanews.com > > > > One of those small "gotcha's" that comes to mind is the tightening > > of the argument count checking in the new versions. Where you used > > to be able to pass in the wrong number of args without error, the > > newer releases (I don't remember exactly which versions) are more > > strict. > > We noticed it first in 6.02. Lotsa gotchas that day when we > recompiled. Only problem is that the argument count errors only showed > themselves at run-time, not compile time. > There is a compiler directive '-z' to c4gl which allows a variable number of arguments to functions. I didn't discover it until after I'd done the hard yards correcting code, but it should fix the immediate problem. It's no substitute for tighter coding, though. ;-) hope that helps RET > > John Carlson > Informix DBA > WH Smith, Inc. >