View Issue Details

IDProjectCategoryView StatusLast Update
0037616FPCCompilerpublic2020-08-22 15:34
ReporterKai Burghardt Assigned ToSven Barth  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSGNU/Linux 
Product Version3.2.0 
Fixed in Version3.3.1 
Summary0037616: compiler/psub.pas generates confusing message regarding jmp_buf
DescriptionThe required type has to be named jmp_buf not TJmpBuf.
Steps To ReproduceTry producing a dummy system.pas unit and you’ll be tripped up by that message.
TagsNo tags attached.
Fixed in Revision46542
FPCOldBugId
FPCTarget-
Attached Files

Activities

Kai Burghardt

2020-08-21 18:59

reporter  

psub.patch (480 bytes)   
--- psub.pas~	2020-08-21 16:58:49.097373814 +0000
+++ psub.pas	2020-08-21 16:58:49.097373814 +0000
@@ -2329,7 +2329,7 @@
         if not assigned(rec_tguid) then
           Message1(cg_f_internal_type_not_found,'TGUID');
         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}
 
          { if the procdef is truly a generic (thus takes parameters itself) then
psub.patch (480 bytes)   

Sven Barth

2020-08-22 15:34

manager   ~0125078

Thank you for the patch. Please test and close if okay.

Issue History

Date Modified Username Field Change
2020-08-21 18:59 Kai Burghardt New Issue
2020-08-21 18:59 Kai Burghardt File Added: psub.patch
2020-08-22 15:34 Sven Barth Assigned To => Sven Barth
2020-08-22 15:34 Sven Barth Status new => resolved
2020-08-22 15:34 Sven Barth Resolution open => fixed
2020-08-22 15:34 Sven Barth Fixed in Version => 3.3.1
2020-08-22 15:34 Sven Barth Fixed in Revision => 46542
2020-08-22 15:34 Sven Barth FPCTarget => -
2020-08-22 15:34 Sven Barth Note Added: 0125078