PDA

View Full Version : Compiler Error Delphi 4



Crisp_N_Dry
05-09-2005, 06:33 PM
While developing some timer code I stumbled across a compiler error using Delphi 4. I copied the code to a new project and tried again... same error. According to Delphi Help compiler errors shouldn't occur. I don't have access to any later versions of Delphi so I'm wondering if anyone could try the following in various versions of Delphi and let me know whether it's worth reporting. It's probably a bug that's already been squashed but I'd be interested to know if any of you guys can reproduce the error.



Frequency: Int64;
HiRes: Boolean;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
Frequency:=1;
HiRes:=Boolean(Frequency);
end;

I get the following error
[Fatal Error] Unit1.pas(32): Internal error: C848

EDIT: Adjusted code for simplicity.

Traveler
05-09-2005, 08:38 PM
Nope, works for me in D7 PE