fpc-pascal · 2022-01
- help with porting project1
Hi I need help with porting an open source project from delphi 7 to latest version of lazarus (target is win64). Please read all details here…
- $PASCALMAINNAME error with SDL/IPhone4
I thought I had this working some years ago but I'm confused again. :) When trying to use SDL on iPhone I include: {$PASCALMAINNAME SDL_main} But when I compile I get a…
- Macro expanding error3
I have this macro: {$define TCallback := TCallback2} which gives a long list of these errors. warning: Expanding of macros exceeds a depth of 16. What does this warning…
- Strange behavior in generics.collections TDictionary1
Consider the following code: *** PROGRAM project1; {$mode objfpc} {$longstrings on} // see output below {$modeswitch advancedrecords} USES Variants,…
- Interface section overload procedures are all public2
// making only one procedure bugtest public in the interface section // makes all other bugtest procedures public as well! // Lazarus 2.0.0+dfsg-2 // FPC-Version: 3.0.4…
- Case statement for class introspection30
I saw a new syntax in Swift which I thought was clever and fits a pattern I've seen before. Basically it's a case statement for class types which lets you branch…
- Windows Volume Control1
Are there functions to check the current volume level and to set the volume with just FPC (not Lazarus) on Windows 10? All I need is the master system volume, not any of…
- StrToInt is using ShortString buffer?15
Hello. As I see in the commit https://gitlab.com/freepascal.org/fpc/source/-/commit/beecbf1581a986f544fde77aa428e05c21a35f6f StrToInt always uses ShortString buffer:…
- Crash on Windows for Aarch64 target3
Some time ago it was announced an experimental support for Windows on Aarch64 (namely in this post…
- Where can I find working code for xidel and dependencies2
I have been adviced to use xidel to analyze the content of websites, so when searcing for it I found that it is a FreePascal utility with the sources on GitHub.…
- freepascal.org SSL_ERROR_BAD_CERT_DOMAIN15
https://freepascal.org/
- FPF 3.04 and Synapse1
Is Synapse compatible with FPC 3.04 and which link should be used for the Synapse code as there are several ? Thanks Brian
- Lazarus Release 2.20
The Lazarus team is glad to announce the release of Lazarus 2.2. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal:…
- FPC Backtrace5
I'm curious if there is some way, perhaps with some directive or something to force a debug backtrace to happen, but without an error. I have a function that is getting…
- FPC and WebAssembly7
I'm glad to anncounce that FPC now covers working with webassembly in the browser. Because pictures say more than a thousand words, 3 demos: A modest "hello, world"…
