mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 23:50:23 +02:00
* don't give an IE with extdebug on darwin if a symbol is "re-allocated"
with a wrong type, because we can't know the type of a symbol in the CG git-svn-id: trunk@2194 -
This commit is contained in:
parent
fc1b5c9fe2
commit
0da53e4ff0
@ -782,7 +782,8 @@ implementation
|
|||||||
{$IFDEF EXTDEBUG}
|
{$IFDEF EXTDEBUG}
|
||||||
if (_typ <> AT_NONE) and
|
if (_typ <> AT_NONE) and
|
||||||
(hp.typ <> _typ) and
|
(hp.typ <> _typ) and
|
||||||
not(cs_compilesystem in aktmoduleswitches) then
|
not(cs_compilesystem in aktmoduleswitches) and
|
||||||
|
(target_info.system <> system_powerpc_darwin) then
|
||||||
begin
|
begin
|
||||||
//Writeln('Error symbol '+hp.name+' type is ',Ord(_typ),', should be ',Ord(hp.typ));
|
//Writeln('Error symbol '+hp.name+' type is ',Ord(_typ),', should be ',Ord(hp.typ));
|
||||||
InternalError(2004031501);
|
InternalError(2004031501);
|
||||||
|
Loading…
Reference in New Issue
Block a user