Home General

Delphi 7 Internal Error C1118

I have installed RB 21.02 and in the process of checking things build ok.

I have come across an issue when building using Delphi 7, the compiler stops in ppUtils.pas at the end of

function ppGetRootForName(aName: String): NativeUInt;

[Fatal Error] ppUtils.pas(4345): Internal error C1118


If I replace the return type with LongWord then it builds, Will this cause any issues?

Comments

  • Hi Steven,

    NativeUInt is defined for Delphi 7 but after a quick google search, it has been known to cause problems.

    NativeUInt is equivalent to Cardinal so that would be a more appropriate replacement.

    I will update this with an IFDEF this for the next release.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Nico,

    Changed to Cardinal.

    Thank you.
Sign In or Register to comment.