浏览代码

* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption

git-svn-id: trunk@45692 -
svenbarth 5 年之前
父节点
当前提交
56fdba2c9b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/pdecsub.pas

+ 1 - 0
compiler/pdecsub.pas

@@ -2374,6 +2374,7 @@ begin
     pd.proccalloption:=pocall_cdecl
   else
     pd.proccalloption:=pocall_stdcall;
+  include(pd.procoptions,po_hascallingconvention);
 end;