mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.
This commit is contained in:
parent
1a5fa6dc51
commit
c248c14075
@ -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…
x
Reference in New Issue
Block a user