fpc-pascal · 2018-11
- Multi-scope helpers draft4
I’d like to propose this mode switch ($modeswitch multiscopehelpers) to allow multiple helpers per scope. I have no idea why Delphi thinks only one helper should be…
- Constants in generics95
I implemented a first draft of constants (integers) in generics. My reason was specifically that I wanted a way to add methods to static arrays and generic records is…
- Building trunk29
I haven't been able to build trunk i386 fpc for a couple of weeks. Is this supposed to be working, or have I misconfigured something? (I don't think I have changed…
- Default record const values18
Should’t this work? This would be a good way to set default record values but it doesn’t seem to be supported. type TMyRecord = record public a: integer; b: string;…
- Adding options when building packages1
Since upgrading to Mac OS 10.14 a file has moved in the system which needs to be linked to. I’m able to work around this by adding a search path to the compiler…
- TStringList.DelimitedText seems not to work...2
FPC 3.0.4 with Lazarus 1.8.0 on Windows 7 x64 I am trying to use TStringList containers for parsing out values of this kind for sending to a database handler script:…
- C-blocks9
Can c-blocks support Jonas added for Cocoa support be extended to other platforms or is this stuck with OS X? It uses a runtime library by Apple but is it possible to…
- Passing nested procs out?6
Is passing nested procs outside of the calling scope relying on undefined behavior? It doesn’t seem like this should be allowed. ===========================…
- Uniform initialization?14
Since I’ve got a little more free time I wanted to see if there was a simple solution to issue in Pascal that causes quite a bit of friction for me, i.e. constructor…
- Windows programming tutorials for FPC30
I've been programming for decades with Pascal, starting with Turbo Pascal, and for a few years now with Freepascal, and even wrote really complicated console windows…
- Running tests with FPC units only2
I am blind, so I don't use Lazarus. In pure Freepascal, I tried to run an example test: program tester; {$mode objfpc}{$H+} uses fpcunit, testregistry; type TMyTest =…
- INSTALL_PREFIX, INSTALL_LIBDIR3
How to control where 'make install' puts the libraries (e.g. libpas2js.so)? I tried "INSTALL_LIBDIR=~/tmp/lib64", but that moves everything *except* libraries to…
- Restricted generic param types1
I’m getting a parse error here. It thinks the “U” is another type but in fact it’s another generic parameter and not related to this a bug? I don’t think the…
- Dynamic array bug9
I finally built the trunk today (version 3.3.1) to try new dynamic array features and a bug fix Sven did a while ago but I’m still getting errors. Did I get the wrong…
- Firebird vs. SQLite vs. PosgreSQL2
This isn't a Free Pascal question but I wanted to ask about the Firebird database [1] because it seems as the Free Pascal community uses it the most by far, so I hope it…
- pas2jni issues4
I would like to make a suggestion regarding the generated code of the pas2jni utility, and report an issue. This utility generates a java file called system.java. First…
- Building FPC from sources on Linux Mint 19, make clean errors out2
I have jsut createda virtual Linux Mint 19 x86_64 machine on which I attempted to install FPC 3.0.4 and Lazarus 1.8.5 (the fixes branch). I got as far as: - FPC 3.0.0…
- fpc.cfg using relative paths2
Is there, any change, to use relative paths inside fpc.cfg? I have several Lazarus copies, in different paths, and I would like to use the same fpc.cfg on all of them.…
- Listing the type (even as string) of the parameters and the return of a function5
Hi. First, thanks for the great work in the invoke.inc for win64! ☺ So, consider the following example: uses RTTI; type TFoo = class public function Bar(const A:…
- MSEide+MSEgui 4.6.20
MSEide+MSEgui version 4.6.2 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.6.2/ Have a lot of fun! Martin
- fphttpclient.post4
I'm using fphttpclient.simpleget to make querries to webserver. It's very very simple to use this function ! "Du pur bonheur". As some data which travel the world…
