fpc-pascal · 2021-03
- FPC PasCocoa/Differences2
The FPC PasCocoa/Differences wiki <https://wiki.lazarus.freepascal.org/FPC_PasCocoa/Differences> writes about ObjC class extensions: "You can use regular (non-external)…
- Hide warning number2
Is there a way to hide a warning for all files from the command line? The "not inlined" warnings (6058) are too numerous to even be useful anymore so I'd like to disable…
- Pass type as function parameter3
Would it be possible in FPC to pass a type of a variable as a parameter to a function? e.g. MyFunction(integer); I have legacy C code that does this via a macro.…
- RaspberryPi GPIO access from multiple applications using /dev/gpiomem?1
I have a control application that uses GPIO pins to switch ON/OFF power feed to a data collection system and to start it using a trigger pulse. Now I am trying to…
- SinclairQL (M68K) Port6
Back in November, we had a visit on our Sinclair QL forum (qlforum.co.uk) from ChainQ informing us that he had created a Sinclair QL version of Free Pascal for M68K.…
- fpreport: can not use two ObjectLists as datasource in one report13
I have a sample attached to show the problem. I want in the report (created a runtime) to use more than one report datasource. I create a databand and connect this with a
- Pull request for fphttpclient.pp in git mirror repo3
I just received a notification that somebody created a pull request for FPC in my git mirror repository. I will notify the person that it's a read-only repository, but…
- Extraneous generic parameters3
This program compiles, but is it a bug? I would think the specialization should fail because "S" in TArray is not specified. ======================== {$mode objfpc} type…
- JSONStringToString question10
Function result Pascal string with escaped characters replaced {$mode objfpc} {$h+} uses fpjson; var S1, S2: TJSONStringType; begin repeat write('S: ');readln(S2); S1 :=…
- Smart-linking versus Whole Program Optimization12
my goal is DO NOT include unused procedures, methods in final program/library on Win32 target exe/dll. A.) I compile my (units) program/library with -CX -XX (set in…
- Cannot write datetime field on sqlite3 database on ARM15
I am developing my app on Windows and building apps for other platforms by using cross compiler. Now I have a problem only occurred on Linux ARM. The problem is that it…
- Is RV32I instruction set for RISC-V (embedded) supported?5
I would like to use fpc to program a FPGA softcore RISC-V cpu. The softcore has the RV32I instruction set implemented. I modified the Makefile in rtl/embedded, so that…
- Unicode chars losing information37
I came across a bug which was caused but a unicode character losing information and narrowed it down to this. Why doesn't the chars[1] print the same character as…
- Why has the tkFloat default value changed?5
In FPC 3.2.0 the default "Default" value of a single/double property has changed from $80000000 (fpc 3.0.4) to 0. This breaks TWriter. The $80000000 means the property…
