mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Reporting sym name for incompatible pointer types.
This commit is contained in:
parent
ac17751699
commit
9accf983e1
@ -237,7 +237,7 @@ void TypeConversion (ExprDesc* Expr, Type* NewType)
|
||||
switch (TypeCmp (NewType, Expr->Type)) {
|
||||
|
||||
case TC_INCOMPATIBLE:
|
||||
Error ("Incompatible pointer types");
|
||||
Error ("Incompatible pointer types at '%s'", (!Expr->Sym? Expr->Sym->Name : "Unknown"));
|
||||
break;
|
||||
|
||||
case TC_QUAL_DIFF:
|
||||
|
Loading…
x
Reference in New Issue
Block a user