mirror of
https://github.com/cc65/cc65.git
synced 2025-03-01 11:29:27 +00:00
Changed error/warning messages not using the term 'tentative' according to PR reviews.
This commit is contained in:
parent
b2d3b8379c
commit
43efc256f1
@ -449,7 +449,7 @@ void Compile (const char* FileName)
|
||||
/* Assume array size of 1 */
|
||||
SetElementCount (Entry->Type, 1);
|
||||
Size = SizeOf (Entry->Type);
|
||||
Warning ("Tentative array '%s[]' assumed to have one element", Entry->Name);
|
||||
Warning ("Incomplete array '%s[]' assumed to have one element", Entry->Name);
|
||||
}
|
||||
|
||||
Sym = GetSymType (GetElementType (Entry->Type));
|
||||
@ -474,7 +474,7 @@ void Compile (const char* FileName)
|
||||
Entry->Flags |= SC_DEF;
|
||||
} else {
|
||||
/* Tentative declared variable is still of incomplete type */
|
||||
Error ("Tentative definition of '%s' of type '%s' is incomplete",
|
||||
Error ("Definition of '%s' has type '%s' that is never completed",
|
||||
Entry->Name,
|
||||
GetFullTypeName (Entry->Type));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user