1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.

This commit is contained in:
Christian Groessler 2019-04-27 00:04:38 +02:00 committed by Oliver Schmidt
parent 1a5fa6dc51
commit c248c14075

View File

@ -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;
}