Browse Source

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

git-svn-id: trunk@45692 -
svenbarth 5 years ago
parent
commit
56fdba2c9b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/pdecsub.pas

+ 1 - 0
compiler/pdecsub.pas

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