Re: Too many types ?

Philippe Ribet <[email protected]> Fri, 23 Sep 2005 17:44:24 +0200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Wolfgang Jansen wrote:

> Hi the SE team,
>
> the SE compiler stops work with message:
>
> ****** Fatal Error: Too many live types (the maximum is 32765).
> Cannot go on: please send a mail at [email protected]
>
> (what I'm doing done here). Well, the program is a bit more
> complicated than HELLO_WORLD but it is not as large as the
> compiler thinks: the previous successful compilation listed
> 724 types in the *.id file. A few more types may have been added
> since that time.
>
> Best regards
> Wolfgang Jansen
>
> PS
> Compiler version:
> Release 2.2 Beta Release #3 (CVS snapshot 07/28/05 09:03:55) [Pomme 
> de  terre]
> Compiler options:
> -require_check -no_warning -no_style_warning -no_strip -no_main
> The ACE file switches on the "trace" flag for several clusters.
>
>
I guess there is some recursive type. How could the compiler be improved 
in order to:
- display some more instructive error message?
- help to detect the circularity?

May be writing some file with all the live types ? This could be easy to 
implement.

Best regards,

-- 
Philippe Ribet



                         The README file said
              "Requires Windows 95, NT 4.0, or better."
                    So... I installed it on Linux!