fpc-pascal · 2020-03
- Pass open array to static array?12
Why doesn't it compile to pass an open array to a static array of the same size? That would nice if this worked since it makes assigning values so easy. program test; var
- 2
- Why external execution so slow?13
I need to execute an external program from my application. This execution is much slower than execute the external application from command line. I made a simple example…
- Ncurses unit and newer releases of ncurses2
Running fpc 3.0.4 on Fedora 30. The ncurses unit is based on version 5.6 of ncurses, according to constants defined in the source. The upstream ncurses is , and I…
- generic proc inference44
What is the state of FPC support for calling generic procedures using inference like Delphi? For example: {$mode objfpc} generic procedure Run<T>(a: T); begin end; begin…
- FPC 3.2.0RC1 released!2
We have placed the first release candidate of the Free Pascal Compiler version 3.2.0 on our ftp servers. You can help improve the upcoming 3.2.0 release by downloading…
- Disable Warning: (6060) Case statement does not handle all possible cases9
Hello. How to disable the Warning: (6060) Case statement does not handle all possible cases ? I did try with this without luck, the warning is still there: interface…
- Range check error warning.27
Hello. With fpc 3.3.1 there is this warning: "Warning: (4110) Range check error while evaluating constants (-193 must be between 0 and 255)" Here the code pointed by the…
- Chaining method calls4
Is it possible to achieve this dynamically without resorting to type casting? It feels like classes should have a builtin type for each class, like TClassType, which…
- Size of pdynarraytypeinfo7
Hello. How to do to retrieve the size of the array of pdynarraytypeinfo? Thanks Fre;D ----- Many thanks ;-) Sent from: http://free-pascal-general.1045716.n5.nabble.com/
- Killing the mail list15
It's 2020 and the mail list is starting to really show its age. I don't get first messages from gmail and my personal web host is whitelisted, messages bounce when I use…
- sizeof TTypeKind?8
Are there any functions in the RTL to get the sizeof the type specified in TTypeKind? https://www.freepascal.org/docs-html/rtl/typinfo/ttypekind.html I'm truing to use…
- Travis CI support0
I'm searching for volunteers who could help to add and support continuous integration via Travis CI. According to…
- UnicodeCompareStr and UnicodeCompareText strange result0
FPC 3.0.4 Linux x64, test from Lazarus 2.0 trunk, ie with widestringmanager. UnicodeCompareStr('aaa', 'AA')=1 - ? UnicodeCompareText('aaa', 'AA')=1 - ok…
- Operator precendence of ^2
I read the documentation on operator precedence: https://www.freepascal.org/docs-html/ref/refch12.html But I could not find any mention of the derefence operator ^. How…
- Error format in trunk changed (again)0
Here's an example of 2 error formats which changed across compiler version (I think -vbr gives the gcc style output). The first format is the one I thought was standard…
- Re: New Warnings with fpc >= 3.2.0 (fredvs)10
A possibility, using your enumeration is to change it from tabulatorkindty = (tak_left,tak_right,tak_centered,tak_decimal, tak_none); to tabulatorkindty =…
- New Warnings with fpc >= 3.2.026
Hello. Compiling that code with fpc 3.2.0 gives the warning that follows: ---> if (kind tabulatorkindty(-1)) --> gives now the warning: "msedrawtext.pas(1115,48)…
- Apache 2.4 module that execute Pascal program0
I want to announce Apache module I develop. It allows pascal program to be executed as scripting language using InstantFPC. It is still early stage but it is already…
- inline declarations...4
Will v3.2 support inline variable declarations? tnx. g. Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll -…
- modeswitch multihelpers precedence problem14
I started adding {$modeswitch multihelpers} to some of my code and noticed a problem. It would seem that the SysUtils unit is defining type helpers for the string type…
- Extended type under Win646
Hi all I'm trying to get an idea if Extended float is/can actually be 80bit? I have FPC built under Linux x64 and it works fine (co-processor command are actually used).…
- Command line -a cannot be combined with -Sewn0
For example I have following code program teststr;begin writeln('test');end. Compile it with -a and -Sewn or -Sen $ fpc -a -Sewn teststr.pas It fails to compile.…
- fpc trunk = Operator is not overloaded: "Class Of TBlobField" and "Boolean"9
Hello. I did try last fpc trunk and get that error message when compiling a program (mseide): ---> Error: Operator is not overloaded: "Class Of TBlobField" and "Boolean"…
- Property write access on records8
In the snippet below why isn't it an error to write to a field of the read-only property? I was hoping this would give me some type safety but it just writes to a temp…
- Cannot find system type "__m64"11
I'm continuing this from the bug tracker. Also please note that for some reason the mail list server has stopped sending me replies to gmail so I need to look at…
- Passing static arrays to open arrays0
Here's another issue I found with open arrays. Why isn't the static array of NSArray compatible with "array of pointer"? You can assign NSArray to pointer so why is the…
- Objective-C mode switch overrides open arrays?0
The for loop thinks the open array of NSObject is an ObjectiveC array and thus gives me an error. Is this a bug? ===================== {$mode objfpc} {$modeswitch…
- Error on https://www.freepascal.org/download.var2
The page https://www.freepascal.org/download.var gives an error. It is still linked in many places as the download page for fpc. Has it moved, or does it need fixing?
