From c248c14075aecc1598326dc0e88581596f6ad6d7 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Sat, 27 Apr 2019 00:04:38 +0200 Subject: [PATCH] src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols. --- src/ld65/exports.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.2