Here's why it's still officially a beta version.

known bugs and fixes in version 0.99b:

  • Some compilers (Solaris 5.4 cc, for instance) don't understand the "inline" keyword. If lil-gp fails to compile, try removing the word "inline" from "protos.h" and "select.c" (there's just one occurrence in each file).
  • Ant sample problem could fail when PROGN4 terminal is used. In appdef.h of the ant problem, change
  • #define MAXARGS    3
    
    to
    #define MAXARGS    4
    
  • Mystery seg faults for some values of parameter "output.bestn". The second statement of calculate_pop_stats() in "gp.c" (line 530 in an unaltered copy of the file) is
  •      temp = (individual **)MALLOC ( s->bestn * sizeof ( individual * ) );
    
    Change it to:
         temp = (individual **)MALLOC ( (s->bestn+1) * sizeof ( individual * ) );
    
  • Typo in the app.c of the skeleton/ directory:
  • void app_eval_fitness ( individual *ind )
    {
         . . .
         set_current_individiaul ( ind );
    
    should of course be
    void app_eval_fitness ( individual *ind )
    {
         . . .
         set_current_individual ( ind );
    
All these have been fixed in the distribution on the FTP and WWW sites. If you pulled it down prior to 1 July 1995, either make these fixes yourself or get it again.