TurboMagic 92 Posted October 29, 2023 Hello, the DEC (Delphi Encryption Compendium) library recently got a pull request from somebody to make it more compatible with FPC. While that's nice I took that request, but found out later, that it made it no longer compile on Delphi. With some help of Stevie I got that fixed, but I guess it now doesn't compile on FPC anymore. The issue is the use of IFDEF/IFEND etc. constructs. While I want to stay FPC compatible with DEC I have not enough knowledge of FPC and I also lack the time to look after that part right now. So I'd be grateful if somebody could look at this and make suggestions how to change it so that it is compatible with both. Cheers TurboMagic Share this post Link to post
Remy Lebeau 1393 Posted October 29, 2023 3 hours ago, TurboMagic said: The issue is the use of IFDEF/IFEND etc. constructs. Can you be more specific? What is the actual issue? Indy uses a mix of IFDEF/ENDIF and IF/IFEND, and it works fine in both Delphi and FPC. You might consider turning on LEGACYIFEND in Delphi XE3+, if you are not already doing so. 2 Share this post Link to post
Anders Melander 1782 Posted October 29, 2023 1 hour ago, Remy Lebeau said: Indy uses a mix of IFDEF/ENDIF and IF/IFEND, and it works fine in both Delphi and FPC. GR32 too. No problem AFAIK. Share this post Link to post