src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.
This commit is contained in:
parent
1a5fa6dc51
commit
c248c14075
1 changed files with 3 additions and 3 deletions
|
@ -482,9 +482,9 @@ void InsertExport (Export* E)
|
|||
Imp = Imp->Next;
|
||||
}
|
||||
} else {
|
||||
/* Duplicate entry, ignore it */
|
||||
Warning ("Duplicate external identifier: '%s'",
|
||||
GetString (L->Name));
|
||||
/* Duplicate entry, this is fatal */
|
||||
Error ("Duplicate external identifier: '%s'",
|
||||
GetString (L->Name));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue