Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delphi OSX64 changes broken FPC compilation
#1
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.
Reply


Messages In This Thread
Delphi OSX64 changes broken FPC compilation - by zpeterson - 01-24-2020, 07:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)