![]() |
Delphi OSX64 changes broken FPC compilation - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Indy (https://www.atozed.com/forums/forum-8.html) +--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html) +--- Thread: Delphi OSX64 changes broken FPC compilation (/thread-1506.html) |
Delphi OSX64 changes broken FPC compilation - zpeterson - 01-24-2020 The changes to IdCompilerDefines.inc in SVN revs 5500-5505 broke compiling Indy for 64-bit OS X under Free Pascal. Prior to those changes, THANDLE was set to THANDLE_32 for both 32-bit and 64-bit OS X builds, but Embarcadero's patch and subsequent changes switched it to THANDLE_CPUBITS. Compiling IdGlobal.pas with Free Pascal 3.3.1 now fails in InterlockedExchangeTHandle, line 4487 with the error "Typecast has different size (4 -> 8) in assignment" on the VTarget cast. EDIT: Since it dropped the "$ELSE" clause, it looks like it's also undefined for any non-Apple BSD variants, but we don't compile for those so I'm not sure. RE: Delphi OSX64 changes broken FPC compilation - rlebeau - 01-27-2020 (01-24-2020, 07:57 PM)zpeterson Wrote: The changes to IdCompilerDefines.inc in SVN revs 5500-5505 Indy does not use SVN anymore. The latest code is now on Indy's GitHub repository going forward. (01-24-2020, 07:57 PM)zpeterson Wrote: ... broke compiling Indy for 64-bit OS X under Free Pascal. That was fixed a month ago in Indy's GitHub repo (commit #39b514b). See this ticket for discussion. RE: Delphi OSX64 changes broken FPC compilation - zpeterson - 01-27-2020 Ah, ok, thanks. In that case, the problem is that the "Development Snapshot" link on https://www.indyproject.org/download/v10/ points to the old website content that still refers to the SVN repository. RE: Delphi OSX64 changes broken FPC compilation - rlebeau - 01-27-2020 (01-27-2020, 03:57 AM)zpeterson Wrote: In that case, the problem is that the "Development Snapshot" link on https://www.indyproject.org/download/v10/ points to the old website content that still refers to the SVN repository. Yes, I'm aware of that, and I stated as much in the blog post I linked to in my previous reply above: Quote:Indy’s main website has not been updated yet to reflect this new information. Though there is a link to the GitHub repository in the download section for the dev snapshot. |