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,8 +482,8 @@ void InsertExport (Export* E)
Imp = Imp->Next; Imp = Imp->Next;
} }
} else { } else {
/* Duplicate entry, ignore it */ /* Duplicate entry, this is fatal */
Warning ("Duplicate external identifier: '%s'", Error ("Duplicate external identifier: '%s'",
GetString (L->Name)); GetString (L->Name));
} }
return; return;