fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Fwd: Re: fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found3
if the font is not found, why is there not the correct indication of the missing font ? The errormessage is in this case completly wrong. If a fallback should be…
- fcl-report demos - expressions - have problem with [RecNo]1
There is more not working in the report demos. The expressionparser have problems with a simple [RecNo] ----------------…
- Interface delegates and the implements property specifier18
Section 7.4 Interface delegation <https://www.freepascal.org/docs-html/current/ref/refse45.html#x98-1200007.4> of the FPC Language Reference Guide discusses interface…
- fcl-fpreport not built complete, missing fpreport.dom3
I have get fpc from actual svn trunk for x64 on windows and x64 on linux (debian) and i have seen, some parts of fcl-fpreport are not built and i found no ppu's for it.…
- StringList encoding question0
Consider this code: {$codepage utf8} {$mode objfpc} {$H+} uses SysUtils, Classes; var SL: TSTringList; S: String; begin writeln('DefaultSystemCodePage =…
- Passing a CORBA interface as parameter5
I would like to pass a CORBA interface-type as parameter and test for equality, So, for example, I have {$mode objfpc} {$interfaces corba} type IMyInterface = Interface…
- googleapi google spreadsheet5
I'm trying to fiqure out how to use google spreadsheet with lazarus. It seems that the calendar sample project (\lazarus\components\googleapis\demo\calendar) doesn't…
- Confusing crash in System.WaitFree0
I have a crash that I'm not able to replicate in a simple program and appears to be related to threading. All I have to go on is this back trace but it doesn't give any…
- Two possible generics bugs14
Testing on 3.3.1. Are these both bugs? I wanted to ask first before filing a report. {$mode objfpc} program test; uses FGL; // No Error specializing TFPGList in…
- Static linking to C library on Windows1
Moving on to Windows now and more basic problems. I've built from Python sources again but I'm not sure about static libraries on Windows. There is a .dll which is a…
- Static linking to C library on Linux7
I'm trying to link to a static library (built from Python sources) in Pascal and having troubles on Linux. On Mac where I have experience I successfully link and every…
- Variant part in objects?1
Is there a reason that objects don't support variant sections like with records? Maybe they mess with the VMT table when virtual methods are added? I just posted my…
- Pre-allocated TFPGList or similar5
I need a pre-grown list which I can put (not insert!) items into at indexes without getting "List index out of bounds" errors. For example I want to start with a list…
- Strange experience with TJsonConfig.Clear2
I experienced some strange behaviour with TJSONConfig.Clear. I'm using fpc 3.0.4 32-bit on Win10-64. (While I do have fpc trunk as well, the program is a Lazaurs GUI…
- How to translate C macros which use stringification?1
I made a simple example to demonstrate the problem: #include <iostream> using namespace std; #define MACRO1(x) \ cout << #x << "(" << (x) << ")"; \
- Writing to a drive which may be spun down9
Running Ubuntu 18 LTS, I have a console-mode number-cruncher which writes occasional output files. It works just fine if the output is directed to a drive which is…
- get_caller_frame6
I came across get_caller_frame in some unrelated code and I was just curious about this so I wanted to ask. What does get_caller_frame return exactly? Is this a pointer…
- cvar external symbol name2
Do cvars not allow external symbol names like functions do? With function I can declare a name but for cvar I'm getting an error. PyBaseString_Type:PPyTypeObject; cvar;…
- DirectoryExists of FreeBSD 12- Java solution0
https://github.com/jnr/jnr-posix/issues/126 these guys had found the reason of broken Java code on freebsd 12: they now detect ABI version and use different struct on…
- DirectoryExists on FreeBSD 12 problem0
freebsd src is https://github.com/freebsd/freebsd/blob/master/sys/sys/stat.h it has 2 defines for "stat": usual struct stat { dev_t st_dev; …
- Add API to official documentation search18
Could FPC make an API for the official documentation search at https://www.freepascal.org/docsearch/docsearch.var so we could make calls like:…
- Generics in Objective-C mode bug?2
Is this a bug I should report? Knowing what I do about generics now I think the type check needs to be suspended until the type is actually specialized. {$mode objfpc}…
- Generic type conflicts25
I've wanted to make a generic version of a vector for a while but I always give up because it seems not very possible. It's probably not even a great idea because many…
- Generic operator overload problem2
Is this a bug or did I do something wrong? The minus operator overload seems to be getting confused and I get a "Can't determine which overloaded function to call" error…
- TStringList.SetCommaText needs refactor1
It's obvious this needs to use SetDelimetedText with other params (2nd 3rd) Procedure TStrings.SetCommaText(const Value: string); begin CheckSpecialChars; …
- StringList micro optimization1
Procedure TStrings.SetDelimitedText(const AValue: string); has about 16 calls to Length(AValue), so make a variable NLen to speed up it. Alexey
- TEventObject.Create site help1
https://www.freepascal.org/docs-html/current/fcl/syncobjs/teventobject.create.html Create creates a new event object with unique name AName. The object will be created…
- TEventObject.ManualReset help page0
https://www.freepascal.org/docs-html/current/fcl/syncobjs/teventobject.manualreset.html text is poor, even the text in .Create (about ManualReset) is more detailed, so…
- FPC cannot understand 1-char string as PChar1
FPC 3.3.1-r43022 [2019/09/16] for Linux x64. This code crashes, because fpc sees 'x', 'y' wrong: Py_BuildValue('{sLsisisisisisisOsOsOsisisisisisO}', I must change it…
- FPC RGB+W LEDs4
I'm thinking about making a controller for SK6812 Individually addressable RGB+W Led strips, perhaps something I can run on a Raspberry Pi. I'm curious if anyone has…
