fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Generic constants with generic type3
Hi all! With the existing syntax of constants, it is good to pass array boundaries, but bad to initial parameter values. What do you think about such constructs:…
- How does TFPGMap key compare work?3
I have a question I was just curious about. From what I can tell TFPGMap uses CompareByte to compare keys of arbitrary type, which is clever but how does this work for…
- Separate release cycle for RTL and compiler proposal14
I would like to propose to separate RTL release from compiler release so that RTL bug fixes and features can be released with shorter release cycle. Is that possible?
- Abstract classes ignored15
From the documentation: "An abstract class is a class that cannot be instantiated directly. Instead, a descendent class must always be instantiated. However, for Delphi…
- Background info on Generics in FPC4
Hi I'm looking at the wiki and official FPC language documentation. What was the reason for the decision to make the FPC syntax so verbose regarding Generics? eg: What…
- Documentation patch for fcl/netdb1
I've added a documentation patch to bug 0037906 in the bug tracker. This covers the new code that I added to fcl/netdb for DNS resolution as well most of the other…
- Generic class aliases1
With normal classes you can make aliases to other units but with generics you get an error. Am I doing this wrong or is this not supported? type TList = UOther.TList; …
- More problems in Sinclair QL port (M68K)3
I've been working on the Sinclair QL version of the FPC runtimes and I've got quite a lot of progress made. Unfortunately, I've hit a problem with the Append() function.…
- Inline assembler m32 source operand0
how can I address m32 source operand in inline assembler instruction like : asm ... VBROADCASTSS m32, %xmm1; ... end; if I would like broadcast to %xmm10 single…
- Version 3.2.2 changes5
Does anyone have a link to useful list of changes or bug fixes for 3.2.2? Both the "New features" & "User Changes" pages are currently rather sparse!…
- Interruption handling on i80868
I'm doing DOS development for fun and, after installing the compiler (was quite hard), I'm having problems handling interrupts. I started with keyboard and it doesn't…
- lazarus ide space/dot display1
does anyone knows how avoid display dot point for space between 2 words? Thanks in advance
- 6
- Trouble integrating examples into fpcdoc2
In the fpcdocs subversion project, there are a number of example directories each containing one or more small programs and a Makefile. My question is, is that Makefile…
- Usage of FieldAddress7
I'm trying to see fields by name but TObject.FieldAddress doesn't seem to be working. Do I have that correct I should be using FieldAddress to return the pointer of the…
- Pascal Ardiono (avr) library11
During some spare free time I've ported parts of the Arduino AVR library to Free Pascal. So now it is possible to use things like 'DigitalWrite' and 'Delay'. More info…
- Formatting Question6
I'm looking for a way to format numerical data in a string so that everything ends up aligned by the decimal point. I've been trying to use the Format() function but I…
- 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…
