Browse Source

* fix for Mantis #37616: apply patch by Kai Burghardt to complain about the correct type used by setjmp/longjmp

git-svn-id: trunk@46542 -
svenbarth 5 years ago
parent
commit
c2c7ac634a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -2329,7 +2329,7 @@ implementation
         if not assigned(rec_tguid) then
         if not assigned(rec_tguid) then
           Message1(cg_f_internal_type_not_found,'TGUID');
           Message1(cg_f_internal_type_not_found,'TGUID');
         if not assigned(rec_jmp_buf) then
         if not assigned(rec_jmp_buf) then
-          Message1(cg_f_internal_type_not_found,'TJMPBUF');
+          Message1(cg_f_internal_type_not_found,'JMP_BUF');
 {$endif}
 {$endif}
 
 
          { if the procdef is truly a generic (thus takes parameters itself) then
          { if the procdef is truly a generic (thus takes parameters itself) then