* 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:
Jonas Maebe 2006-01-06 12:08:43 +00:00
parent fc1b5c9fe2
commit 0da53e4ff0

View File

@ -782,7 +782,8 @@ implementation
{$IFDEF EXTDEBUG}
if (_typ <> AT_NONE) 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
//Writeln('Error symbol '+hp.name+' type is ',Ord(_typ),', should be ',Ord(hp.typ));
InternalError(2004031501);