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. Workaround for fpcres requiring absolute path

    I use windres on Windows and Linux 32 and 64 bit (via mingw), but that doesn't work on ARM Linux - so I thought I would try using fpcres on Lazarus 2.3.0 and FPC 3.31…

    Russ, Alexey Torgashin
    2
  2. Pascal and C++ classes

    Is IT possible for pascal to use C++ class objects in a dynamic library?<br/><br/><br/><br/><html> <head> <meta http-equiv="Content-Type" content="text/html;…

    yu ping
    0
  3. Cross-compiler for ARM64 on Windows available?

    I have developed a DLL for x64 Windows and compiled with fpc 3.2.2. I would like to compile the same code for ARM64 running Windows. I need this to support the MS…

    Wolfgang Hubert, Jonas Maebe, Pierre Muller
    19
  4. Operator not overloaded

    I have tried to create an example as minimalistic as possible. I have three files: *** file: pathfinding.pas *** unit PathFinding; {$mode objfpc} interface type generic…

    Thomas Kurz, Sven Barth
    3
  5. Mail Test

    This is just a test of the mailing list. @Ryan: if you can see this, would you please reply with only the list, but not myself as receiver? Sven

    Sven Barth, Hairy Pixels
    1
  6. Are there any drawbacks to "reference to"?

    As the "reference to" feature was recently added to fpc trunk, I'd like to ask if internally there are any penalties (performance perhaps) or drawbacks to using them in…

    Anthony Walter, Bo Berglund, Hairy Pixels
    23
  7. Calling undefined function pointers in generics

    This code snippet will give a compiler error "Syntax error, ";" expected but "(“ found”. It’s an unspecialized generic type so I would think it should compile and…

    Hairy Pixels, Sven Barth
    4
  8. FPConnect Timeout

    Is there any way to specify a shorter timeout for FPConnect?

    James Richters, Dimitrios Chr. Ioannidis, Unknown author
    3
  9. no array support in sqldb/sqldbrestbridge?

    since I'm going to need arrays in a postgresql database to expose via a rest api, I did a simple test with sqldbrestbridge. I created a simple table: create table prueba…

    Luca Olivetti, LacaK
    2
  10. Function References Not Working As Expected

    Regarding a message with an example project I write earlier, I discovered a bug with function references. See this entry…

    Anthony Walter
    0
  11. Compiler flag define or $IFOPT for optimizations

    I want to show how my program was compiled. Now I have string like "FPC3.2.2 i386-Linux R+C+" from   compiler := 'FPC' + {$INCLUDE %FPCVERSION%} + ' ' + {$INCLUDE…

    Benito van der Zander, Tomas Hajny
    3
  12. Be careful of too many features

    In 1984 I started my programming career with Whitesmith Pascal, and soon after Turbo Pascal 3, then C. C had the advantage of pointers to functions, Pascal had the…

    Steve Litt, Brian, Hairy Pixels
    12
  13. Feature Announcement: Function References and Anonymous Functions

    The Free Pascal Developer team is pleased to finally announce the addition of a long awaited feature, though to be precise it's two different, but very much related…

    Sven Barth, Bart, Benito van der Zander
    21
  14. Code tools and function references

    Is this issue addressing the fact that the Lazarus code tools is not working with the new syntax? https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39774. If…

    Hairy Pixels
    0
  15. "Is nested" vs "of object" compatibility with global functions

    I’ve been testing out all the different function pointer types in FPC to test their compatibility with each other and I noticed that “is nested” can accept a…

    Hairy Pixels, Martin Frb, Michael Van Canneyt
    4
  16. Strange "division by zero" error using variants

    please consider the following code: program Project1; {$booleval off} var v1, v2: variant; a: boolean; b: integer; begin a := true; b := 0; // this works as expected: if…

    Thomas Kurz, Florian Klämpfl, Michalis Kamburelis
    2
  17. Different levels of the same compiler message

    Why am I getting a different level (hint/warning) of the same compiler message in similar code, only differing in return type? The following example: program Project1;…

    gabor
    0
  18. Lazarus Release 2.2.2

    The Lazarus team is glad to announce the release of Lazarus 2.2.2. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and…

    Mattias Gaertner
    0
  19. Element type of set at compile time

    Is there a compiler intrinsic to get the element type of a set at compile time? So if you have “set of T” it should return T. Ryan Joseph

    Hairy Pixels, Martin Frb, Mattias Gaertner
    5
  20. alloca

    Is there an “alloca" like function in the RTL which allocates memory from the stack? For example https://man7.org/linux/man-pages/man3/alloca.3.html Ryan Joseph

    Hairy Pixels, Jonas Maebe, Marco van de Voort
    15
  21. bug or feature?

    This can't be right, can it? type TBird = class procedure Fly; end; TEagle = TBird; // alias procedure TEagle.Fly; begin end; Mattias

    Mattias Gaertner, Alexey Torgashin, Elmar Haneke
    27
  22. Feature announcement: implicit generic function specializations

    The FPC developers are pleased to announce the implementation of a new feature: implicit generic function specializations. This feature was implemented by Ryan Joseph,…

    Sven Barth, denisgolovan, Flávio Etrusco
    47
  23. Correct way for using TThread.ForceQueue?

    my question is about using the TThread.Synchronize, Queue and ForceQueue methods. Unfortunately, the parameter they take is of type TThreadMethods which allows calling…

    Thomas Kurz, Mattias Gaertner, Michael Van Canneyt
    7
  24. What's wrong with Leave?

    The test program: begin {$IF Declared(Leave)} Leave; {$ENDIF} end. The compilation error: D:\data\temp>fpc -Mfpc leave_example.pas Free Pascal Compiler version 3.2.1…

    Виктор Матузенко, Jonas Maebe
    1
  25. Compiler internals. Changing dynamic arrays format

    Hi all I've been maintaining a set of private patches for some quite old FPC revision for some years. The idea behind those patches to ease interoperation between FPC…

    denisgolovan, Michael Van Canneyt, Tomas Hajny
    3
  26. RTLEventWaitFor

    Under Linux a RTLEventWaitFor(e,1) usually waits at most 1ms. But under Windows it usually waits at least 15ms. It seems to round to nearest 1/64 of a second. Googling…

    Mattias Gaertner, José Mejuto, Martin Frb
    6
  27. converting to UTF8

    Lazarus 2.012 FPC: 3.2.0 SVN: 64642 OS: Windows 10 Pro/win64 I'm reading from a file with character set win1252, I want to convert it to utf8, but I can't. procedure…

    Unknown author, LacaK, Mattias Gaertner
    4
  28. Just out of curiosity: Compiling FPC trunk and fpcmake

    For years I have been using the same script to compile FPC, I have multiple version of FPC installed in the same machine, mainly my script do: make -j 9 clean all make…

    Victor Campillo, Jonas Maebe, Karoly Balogh
    12
  29. PTCGraph window location

    Is there some way I can set the location of the pctgraph window before it is created so it just pops up where I want it to be? I'm using Windows 10. I've been…

    James Richters, Nikolay Nikolov
    2
  30. help with porting project

    Hi I need help with porting an open source project from delphi 7 to latest version of lazarus (target is win64). Please read all details here…

    Jessica Jones, Tobias Giesen
    1

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