pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:7063: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if (l_flag>2) {    fprintf(stderr, " OK.\n");    }   #endif /* PIKE_DEBUG */    if ((c->lex.pragmas & ID_STRICT_TYPES) &&    /* FIXME: Strict types not supported for lvalues yet. */    !(flags & CALL_ARG_LVALUE)){    if (!(tmp = low_new_check_call(fun_type, args->type,    flags|CALL_STRICT, sval))) { -  tmp = get_first_arg_type(fun_type, 0); +  tmp = get_first_arg_type(fun_type, flags);    yytype_report(REPORT_WARNING, NULL, 0, tmp,    NULL, 0, args->type,    0, "Type mismatch in argument %d to %S.",    *argno, fun_name);    if (tmp) free_type(tmp);    } else {    free_type(tmp);    }    }    free_type(fun_type);