From: Christian Groessler Date: Fri, 26 Apr 2019 22:04:38 +0000 (+0200) Subject: src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c248c14075aecc1598326dc0e88581596f6ad6d7;p=cc65 src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols. --- diff --git a/src/ld65/exports.c b/src/ld65/exports.c index 0f9ac1c10..160e0c797 100644 --- a/src/ld65/exports.c +++ b/src/ld65/exports.c @@ -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; }