Branch: Tag:

2000-08-10

2000-08-10 14:51:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/constants.c:1.23
Rev: src/constants.h:1.14
Rev: src/pike_memory.c:1.74
Rev: src/pike_memory.h:1.16
Rev: src/program.c:1.255
Rev: src/program.h:1.100

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.254 2000/08/10 09:51:52 per Exp $"); + RCSID("$Id: program.c,v 1.255 2000/08/10 14:39:00 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
2515:    /* match types against earlier prototype or vice versa */    if(!match_types(type, funp->type))    { +  if (!(flags & ID_VARIANT)) {    my_yyerror("Prototype doesn't match for function %s.",name->str);    }    } -  +  }       /* We modify the old definition if it is in this program */   
3649:    }      #ifdef PIKE_DEBUG -  if(d_flag && p->inherits[e].name && check_for != (void *)1) +  if(d_flag && p->inherits[e].name && check_for != (void *)(ptrdiff_t)1)    debug_gc_check(p->inherits[e].name, T_PROGRAM, p);   #endif   
3658:    }      #ifdef PIKE_DEBUG -  if(d_flag && check_for != (void *)1) +  if(d_flag && check_for != (void *)(ptrdiff_t)1)    {    int e;    for(e=0;e<(int)p->num_strings;e++)