src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.
This commit is contained in:
committed by
Oliver Schmidt
parent
1a5fa6dc51
commit
c248c14075
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user