fpc-pascal · 2022-06
- Functions for dealing with floating-point precision1
in my program I have need for checking floating-point precision. I'm internally using floating-points for calculations, but in the end I have to use integer numbers. I…
- Re: fpc-pascal Digest, Vol 216, Issue 160
I got it working, but there are differences: When invoking WinRes, it looks as if the project directory is used as the base path. With fpcres, I think the directory in…
- Workaround for fpcres requiring absolute path2
I use windres on Windows and Linux 32 and 64 bit (via mingw), but that doesn't work on ARM Linux - so I thought I would try using fpcres on Lazarus 2.3.0 and FPC 3.31…
- Pascal and C++ classes0
Is IT possible for pascal to use C++ class objects in a dynamic library?<br/><br/><br/><br/><html> <head> <meta http-equiv="Content-Type" content="text/html;…
- Cross-compiler for ARM64 on Windows available?19
I have developed a DLL for x64 Windows and compiled with fpc 3.2.2. I would like to compile the same code for ARM64 running Windows. I need this to support the MS…
- Operator not overloaded3
I have tried to create an example as minimalistic as possible. I have three files: *** file: pathfinding.pas *** unit PathFinding; {$mode objfpc} interface type generic…
- Mail Test1
This is just a test of the mailing list. @Ryan: if you can see this, would you please reply with only the list, but not myself as receiver? Sven
- Are there any drawbacks to "reference to"?23
As the "reference to" feature was recently added to fpc trunk, I'd like to ask if internally there are any penalties (performance perhaps) or drawbacks to using them in…
- Calling undefined function pointers in generics4
This code snippet will give a compiler error "Syntax error, ";" expected but "(“ found”. It’s an unspecialized generic type so I would think it should compile and…
- FPConnect Timeout3
Is there any way to specify a shorter timeout for FPConnect?
- no array support in sqldb/sqldbrestbridge?2
since I'm going to need arrays in a postgresql database to expose via a rest api, I did a simple test with sqldbrestbridge. I created a simple table: create table prueba…
- Function References Not Working As Expected0
Regarding a message with an example project I write earlier, I discovered a bug with function references. See this entry…
- Compiler flag define or $IFOPT for optimizations3
I want to show how my program was compiled. Now I have string like "FPC3.2.2 i386-Linux R+C+" from compiler := 'FPC' + {$INCLUDE %FPCVERSION%} + ' ' + {$INCLUDE…
