From 56fdba2c9bc757c2ef91d0abd227fa8951766b15 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Thu, 25 Jun 2020 20:42:28 +0000 Subject: [PATCH] * partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption git-svn-id: trunk@45692 - --- compiler/pdecsub.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/pdecsub.pas b/compiler/pdecsub.pas index 45b42857f5..0d78f8c896 100644 --- a/compiler/pdecsub.pas +++ b/compiler/pdecsub.pas @@ -2374,6 +2374,7 @@ begin pd.proccalloption:=pocall_cdecl else pd.proccalloption:=pocall_stdcall; + include(pd.procoptions,po_hascallingconvention); end;