Improved the warning output from implicit casts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2397 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
af6b5bdc77
commit
59d86d9c58
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ QCC_def_t *QCC_PR_Statement ( QCC_opcode_t *op, QCC_def_t *var_a, QCC_def_t *var
|
|||
if (var_a->type->type == ev_entity && var_b->type->type == ev_entity)
|
||||
if (var_a->type != var_b->type)
|
||||
if (strcmp(var_a->type->name, var_b->type->name))
|
||||
QCC_PR_ParseWarning(0, "Inexplict cast");
|
||||
QCC_PR_ParseWarning(0, "Implicit cast from '%s' to '%s'", var_a->type->name, var_b->type->name);
|
||||
}
|
||||
|
||||
//maths operators
|
||||
|
|
Loading…
Reference in a new issue