[fpc-pascal] Is there any benefit for a Delphi/Free Pascal/Lazarus programmer to build a C DLL in debug mode ?

2022-08-30 Thread Skybuck Flying via fpc-pascal
Is there any benefit for a Delphi or Free Pascal/Lazarus programmer to build a C DLL in debug mode ? Could it and would it somehow lead to better debugging ? If so how ? So far I don't notice any difference between debug or release build from within Delphi. Maybe Release/Debug in this case/cont

[fpc-pascal] Union field after property violates "field before property" rule + property of union field not possible.

2022-08-14 Thread Skybuck Flying via fpc-pascal
Delphi and presumably Free Pascal has some language inconsistency and problem/short coming concerning "Union Field" and/or "Union Property": The (previous) presented solution (included at end of post) is inconsistent in two ways: 1. Property of union not possible. 2. Order of field and propert

[fpc-pascal] Union followed by Property does not compile !

2022-08-02 Thread Skybuck Flying via fpc-pascal
program TestProgram3; { Test program to illustrate the 'union' followed by property problem in Delphi language and Free Pascal Language version 0.01 created on 1 august 2022 by Skybuck Flying There is a problem with "unions" in Delphi language: When a property follows a "union" declaration it

[fpc-pascal] UBER H3 API working/partially converted

2022-08-01 Thread Skybuck Flying via fpc-pascal
(I mainly write this second e-mail to prevent you from wasting time on the previous e-mail, cause the conversion was already quite successfull with a different tool, read below) The in Delphi written tool CHET was used to convert the C api for UBER H3 library. https://github.com/neslib/Chet [h