Re: varargs calling C from 4gl
Posted in 1993
In article <C7Loq6.AI2@wetware.com> cse@wetware.com (Scott Ellard) writes: Geez, Scott, how long have you been lurking in this newsgroup? >In article <1ttklqINNmmv@emory.mathcs.emory.edu> roderick@ibcinc.com (Roderick Schertler) writes: >>Is there a way to defeat 4gl's `Function has been called with a >>different number of arguments' checking? I'd really like to write a C >>function callable from 4gl which takes a variable number of arguments >>but 4gl won't allow it, as far as I can tell. (Save the hack of calling >>it with different numbers of args from different source files...) The >>really annoying bit is that from the C side it's so trivial. >>-- >>Roderick Schertler >>roderick@ibcinc.com > >You will need to modify the c4gl shell script to accept the '-z' flag. >This flag is used during the first pass (the fglc pass) of the compile. > >This flag is documented for fglpc but not for c4gl. Also, it doesn't work completely right in RDS in releases below 4.10.UE1 >I have it on good authority that this feature will not disappear >as it is an important part of the Informix-TP/ToolKit product. > >FYI: Informix-TP/ToolKit is a product which allows 4GL programs > to interoperate within the Tuxedo and Encina TP environments. >Scott Ellard But only Tuxedo is released so far (right?) -- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland Disclaimer: Sender under influence of 1,3,7-trimethylxanthine "Don't try to out-weird me, pal; I get stranger things than you free with my breakfast cereal." -- Z. Beeblebrox