From: Eric B. <er...@go...> - 2007-07-22 21:20:31
|
Hi Wolfgang, Wolfgang Jansen wrote: > when experimenting with the "gec" it happened > that C compilation failed if the Eiffel code contains > entities of expanded types. > There are two kinds or errors: > - wrong arrangement of type definitions in the *.h file > - bad initializer of local variables > (0 when a struct is expected) I fixed both problems. Well, at least the example you sent me now compiles. But be prepared for other glitches with expanded types. For example not all validity rules for expanded types are checked, `default_create' is not called on new objects and `copy' is not called in assignments (which might be OK as long as `default_create' and `copy' have not been redefined). Arrays of expanded items might have problems as well. If you want to try the new version, you will have to get it from SVN. I don't know if you're familiar with the bootstrap mechanism of Gobo. You first have to get a fresh copy from SVN, and then follow the instructions in $GOBO/work/bootstrap/Readme.txt. For your convenience I've added 'cc' to the list of supported C compiler here as well. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |