mirror of
https://github.com/cc65/cc65.git
synced 2026-04-20 17:20:49 +00:00
Improve struct size error message to include the detected size
This commit is contained in:
+1
-1
@@ -601,7 +601,7 @@ void NewFunc (SymEntry* Func, FuncDesc* D)
|
||||
** We don't currently support this case.
|
||||
*/
|
||||
if (RType == Param->Type) {
|
||||
Error ("Passing '%s' of this size by value is not supported", GetFullTypeName (Param->Type));
|
||||
Error ("Passing '%s' of this size (%d) by value is not supported", GetFullTypeName (Param->Type), SizeOf (RType));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user