|
@@ -89,7 +89,7 @@ interface
|
|
function ErrorCount:longint;
|
|
function ErrorCount:longint;
|
|
procedure SetErrorFlags(const s:string);
|
|
procedure SetErrorFlags(const s:string);
|
|
procedure GenerateError;
|
|
procedure GenerateError;
|
|
- procedure Internalerror(i:longint);
|
|
|
|
|
|
+ procedure Internalerror(i:longint);{$ifndef VER2_6}noreturn;{$endif VER2_6}
|
|
procedure Comment(l:longint;s:ansistring);
|
|
procedure Comment(l:longint;s:ansistring);
|
|
function MessagePchar(w:longint):pchar;
|
|
function MessagePchar(w:longint):pchar;
|
|
procedure Message(w:longint;onqueue:tmsgqueueevent=nil);
|
|
procedure Message(w:longint;onqueue:tmsgqueueevent=nil);
|
|
@@ -538,7 +538,7 @@ implementation
|
|
{ Enable writing of notes, to avoid getting errors without any message }
|
|
{ Enable writing of notes, to avoid getting errors without any message }
|
|
status.verbosity:=status.verbosity or V_Note;
|
|
status.verbosity:=status.verbosity or V_Note;
|
|
end;
|
|
end;
|
|
-
|
|
|
|
|
|
+
|
|
end;
|
|
end;
|
|
'h','H' :
|
|
'h','H' :
|
|
begin
|
|
begin
|
|
@@ -565,7 +565,7 @@ implementation
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
- procedure internalerror(i : longint);
|
|
|
|
|
|
+ procedure internalerror(i : longint);{$ifndef VER2_6}noreturn;{$endif VER2_6}
|
|
begin
|
|
begin
|
|
UpdateStatus;
|
|
UpdateStatus;
|
|
do_internalerror(i);
|
|
do_internalerror(i);
|
|
@@ -1017,7 +1017,7 @@ implementation
|
|
|
|
|
|
|
|
|
|
initialization
|
|
initialization
|
|
- constexp.internalerror:=@internalerror;
|
|
|
|
|
|
+ constexp.internalerrorproc:=@internalerror;
|
|
finalization
|
|
finalization
|
|
{ Be sure to close the redirect files to flush all data }
|
|
{ Be sure to close the redirect files to flush all data }
|
|
DoneRedirectFile;
|
|
DoneRedirectFile;
|