From: Eric B. <er...@go...> - 2007-02-12 22:54:33
|
Howard Thomson wrote: > Hi all, > > I am attempting to compile a WIN32 version of my EDP project using gec. > > The gobo-3.5 version of gec does not (apparently) recognize that an external > 'C' routine can return a non-Void result, in that it generates a direct call > to gevoid() when making a qualified call on the result of the external call. This is true. So far only results of expanded basic types and STRING are implemented. > I need to adapt the compiler to assume that the typeset of the return from an > external call is the full typeset of the descendants of the type of the > Result of the external call. This is indeed what needs to be done, but even more. And that's the even more which made me postpone the implementation of that. Indeed, for each such descendants, you should also consider the full type set for each of its attributes, and so one recursively. Indeed, who knows what has been done on the C side, assigning values to attributes of attributes of the result without the dynamic type set builder knowing about that. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |