Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Proud to announce..

    Hello ! If anyone still doubted that Object Pascal is the best programming language, running on the most platforms: It is with considerable pride that I can announce a…

    Michael Van Canneyt, Marc Hanisch
    1
  2. Can't determine which overloaded function to call

    this code compiles for target Win32 but does not compile for Win64/x86-64. Why? Is there workaround? (Error: Can't determine which overloaded function to call) Thank you…

    LacaK, Jonas Maebe, Santiago A.
    5
  3. Object questions

    Some questions about old-style objects. 1) How can you check if self is assigned? self refers to the struct itself but if the object was allocated on the stack then how…

    Ryan Joseph, Sven Barth
    3
  4. Generics question

    { TFoo } generic TFoo<T> = class procedure Bar; end; { TFoo } procedure TFoo.Bar; procedure localproc; begin end; begin end; This will not compile (fpc 3.0.4):…

    Bart, Martok, Sven Barth
    4
  5. How to get ANSI code command return value?

    I'm playing around with ANSI code (ESC sequence) on the console. Sending an escape command is trivial such as changing text's color and background. However, getting a…

    Mr Bee, Sven Barth
    2
  6. Building trunk

    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…

    C Western, - -, Colin Western
    29
  7. Default record const values

    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;…

    Ryan Joseph, Ben Grasset, Benjamin Rosseaux
    18
  8. Adding options when building packages

    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…

    Ryan Joseph, Dmitry Boyarintsev
    1
  9. TStringList.DelimitedText seems not to work...

    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:…

    Bo Berglund, Michael Van Canneyt
    2
  10. C-blocks

    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…

    Ryan Joseph, Sven Barth
    9
  11. Passing nested procs out?

    Is passing nested procs outside of the calling scope relying on undefined behavior? It doesn’t seem like this should be allowed. ===========================…

    Ryan Joseph, Marcos Douglas B. Santos, Sven Barth
    6
  12. Uniform initialization?

    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…

    Ryan Joseph, leledumbo, Martin Wynne
    14
  13. Windows programming tutorials for FPC

    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…

    James, Alexander Grotewohl, Bo Berglund
    30
  14. Running tests with FPC units only

    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 =…

    luciano de souza, leledumbo
    2
  15. INSTALL_PREFIX, INSTALL_LIBDIR

    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…

    Mattias Gaertner, christo, Christo Crause
    3
  16. Restricted generic param types

    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…

    Ryan Joseph, Sven Barth
    1
  17. Dynamic array bug

    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…

    Ryan Joseph, silvioprog
    9
  18. Firebird vs. SQLite vs. PosgreSQL

    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…

    aditya siram, Elmar Haneke, LacaK
    2
  19. pas2jni issues

    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…

    Unknown author, Yuriy Sydorov
    4
  20. Building FPC from sources on Linux Mint 19, make clean errors out

    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…

    Bo Berglund, Dimitrios Chr. Ioannidis
    2
  21. fpc.cfg using relative paths

    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.…

    Marcos Douglas B. Santos, Fabio Luis Girardi
    2
  22. Listing the type (even as string) of the parameters and the return of a function

    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:…

    silvioprog, Sven Barth
    5
  23. MSEide+MSEgui 4.6.2

    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

    Martin Schreiber
    0
  24. fphttpclient.post

    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…

    Ched, Michael Van Canneyt, Sven Barth
    4
  25. Compiling 32 bit software on Debian Linux 64 bit

    How is it possible to compile a 32 bit program on a 64 bit Debian Linux? When I select i386 as the target cpu the message 'ppc 386 can't be executed' appears. Is it…

    Rainer Stratmann, Luca Olivetti
    2
  26. odd compiling + linking error (with invalid casting of Exp)

    I'm using 3.0.4 (win32), could any one try it on a later version of the compiler? The code i'm compiling looks like this: -------------- {$mode delphi} type Ttest =…

    Dmitry Boyarintsev, Bart
    1
  27. How to codesign my FPC program

    When my users run my FPC compiled 64 bit program, sometimes, they are warned that my exe was not published or known. I am thinking, if I purchase a code signing…

    Dennis
    0
  28. Reduce gap between .text section and .data section in ELF

    When I am compiling to ELF64, the linker is located the .text section at the address 4MB and the .data at address 6MB. Is there any way to reduce this 2MB gap between…

    Matias Vara
    0
  29. Case statements without constants?

    I tried today to make a case that used variables instead of constants and was surprised to get an error. I’m sure this been true since the 80’s but why don’t cases…

    Ryan Joseph, Marco van de Voort, Martin
    6
  30. Vote for Source Forge project of the month

    FPC is again a candidate for the project of the month at Source Forge. In case somebody wants to support FPC in this voting, here is the link:…

    Florian Klämpfl
    0

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999