Frédéric 0 Posted October 7, 2019 Hello, On my RAD Studio 10.3.2 with IDE Fixpack 6.4.4 installed I get a Compiler Fatal error when I pass the -x-cgo compiler option: [dcc32 Fatal Error] frmMain.pas(36): F2084 Internal Error: AV1335D091(0D0F0000)-R00000001-0 This happens when the compiler encounters a simple integer division: function TForm1.DoDivision(AValue: Integer): integer; begin result := AValue div FIntegerField; end; By removing the -x-cgo option the compiler is happy again ! I have all the latest hotfixes install (at least the ones I know :-) ) I didn't get this error with Delphi 10.2.3 version and IDE FixPack 6.4.2. Is this a known problem or is something wrong with my installation ? I verified twice and couldn't find anything wrong... Perhaps important info, I have both 10.3.2 and 10.2.3 installed on same VM. But I left some paths to be sure the compiler doesn't catch some wrong files. It seems OK from this side. Frederic Share this post Link to post
Stefan Glienke 2002 Posted October 7, 2019 (edited) You do realize that the -x options are provided by the fixpack and thus are only via some hackery done by Andreas and might not be stable, yes? @jbg FYI Edited October 7, 2019 by Stefan Glienke Share this post Link to post
Frédéric 0 Posted October 8, 2019 Hi, yes of course, but I was just wondering if it is a known bug of the fixpack or if I'm doing something wrong. Thanks I didn't catch there are some entries for IDEFixpack Share this post Link to post
jbg 239 Posted October 8, 2019 The -x-cgo is an experimental option and it is broken for Delphi 10.3. It works for older Delphi versions. The newest IDE Fix Pack development snapshot fixes this problem. 1 Share this post Link to post
Frédéric 0 Posted October 9, 2019 Hi, Fine it works. I didn't check the result, but at least it doesn't make the compiler fail !!! Thanks a lot for your work !!! Share this post Link to post