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. Linker switch

    A while ago (5 years) I made an application where I had to add -k-lxxxx to the command-line the compile that application. Is there a way to add this in the source ? I…

    -, Sven Barth
    1
  2. [OT] inline procedures in TP 7.0

    Hello, all I don't know a better place to ask this, and beg your pardon for an off-topic post. The Language Guide for Turbo Pascal 7.0 has this to say about `inline'…

    Anton Shepelev, Florian Klämpfl
    3
  3. Last fix for RegExpr (error on empty input)

    1) typo in new Id: iMput. 2) wrong fix for 2nd "Error" call in Substitute(): you disabled Error call but didn't disable Exit, you need to skip Exit there too, so…

    AlexeyT, DougC, Michael Van Canneyt
    4
  4. FreeVision Resources?

    I've recently started getting reacquainted with Pascal. I learned a bit of it back in the late '80s in college on a VAX 11/750 running DEC VMS. I've loved PascalCase…

    Kevin Monceaux, Graeme Geldenhuys, Sven Barth
    8
  5. How to rebuild an fpc package

    Luis - SoftSAT Sistemas, Christo Crause, Fabio Luis Girardi
    11
  6. ncurses 6

    The ncurses and oCRT example programs appear to have an issue with ncurses 6. Attempting to compile them gets an undefined reference to symbol 'keypad' error. Adding…

    Kevin Monceaux
    0
  7. OpenCV

    I looked around on the web for OpenCV Pascal bindings. What I found, seems to be based (mostly) on the OpenCV C interfaces, which covers only part of OpenCV.…

    Adriaan van Os, Henry Vermaak, Michael Van Canneyt
    6
  8. Free Vision PPXPictureValidator - Runtime Error 216

    With a Free Vision validator such as: Field^.SetValidator(New(PPXPictureValidator, Init('&&&-####', True))); I'm getting a runtime error 216 when attempting to validate…

    Kevin Monceaux
    0
  9. Freepascal/Lazarus forum and Lazarus website outage wrap-up

    Now that everything seems to be normal, time for a wrap-up, what happened: There were happening 2 things simultaneously - an increased interest(?) from china - one or…

    Marc Weustink
    0
  10. Array of const: docs

    https://www.freepascal.org/docs-html/ref/refsu69.html Remark: Note that there is no support for QWord arguments in array of const. This is for Delphi compatibility, and…

    Alexey Tor., Sven Barth
    1
  11. $modeswitch from command line

    Is there a way to enable a mode switches from fpc command line? Thank you. ~Bee

    Mr Bee, Jonas Maebe, Mattias Gaertner
    8
  12. test plz ignore

    test plz ignore

    Dimitrios Chr. Ioannidis
    0
  13. Compatibility problems with fpc > 3.3.1 rev 42375

    Hello everybody and specially Sven Barth. With last trunk of fpc, msegui is no more compatible with fpc. After big fight, it appears that commit of Sven Barth on Jul 13…

    fredvs, Martin Frb, Michael Van Canneyt
    26
  14. Compiler treatment of dotted reference in class property

    FPC 3.0.4 compiles this code excerpt without a murmur: == code == {$mode objfpc}{$H+} type   TSheetInfo = record     name: String;     tab: String;     title:…

    Howard Page-Clark, Sven Barth
    2
  15. Is forum down?

    https://forum.lazarus.freepascal.org/ takes long time to load or sometime timeout. Does it happens to anyone? Zamrony P. Juhara Fano Framework, pascal web framework,…

    Zamrony P. Juhara, Michael Van Canneyt
    1
  16. Interface type error

    Why doesn't this compile? IClassName2 descends from IClassName1 so shouldn't TClassName be compatible with IClassName1? ======================================== {$mode…

    Ryan Joseph, Mgr. Janusz Chmiel, Sven Barth
    6
  17. Custom operator

    Besides overloading available operators, could we make our own custom operator(s) in FPC? For example, I want to use ∑ to sum array values? Also other Unicode…

    Mr Bee, Sven Barth
    2
  18. Parameter Checking in fpjsonrpc

    is it correct, that TJSONRPCHandler only checks for parameter beeing object or array (according to TJSONRPCHandler.Options) or should it also check for individual…

    Simon Ameis, Michael Van Canneyt
    4
  19. Best start point for adding new FPC target

    Hi all! I'm studying how to add a new target for the Freepascal compiler. The target is the missing armhf-FreeBSD. So I have looked at FPC guide (…

    Fabio Luis Girardi, Florian Klämpfl, Karoly Balogh (Charlie/SGR
    10
  20. IDLE_PRIO with FPC-compiled processes

    Hi all Have anybody experienced exceptions "Failed to create new thread" when FPC-compiled process priority changed with schedtool -D [pid]? Denis Golovan

    denisgolovan
    0
  21. TProcess and zombie processes in *nix systems

    In fgGUI applications I often launch other applications. eg: The help viewer etc. In such cases, I simply want to launch the application and then forget about it. I have…

    Graeme Geldenhuys, Bart, Marco van de Voort
    3
  22. Delphi generics bug?

    Is this a bug or intended behavior? I would think there should a type mismatch. {$mode delphi} program test; type TFooA = class end; type TFooB = class end; type…

    Ryan Joseph, Sven Barth
    4
  23. TIniFile.WriteString gives file with BOM, bad

            ini_lexmap:= TIniFile.Create(fn_lexmap_final);         try           ini_lexmap.WriteString('ref', IntToStr(i_sub), s_lexer);…

    AlexeyT, Bart, Luca Olivetti
    8
  24. "Hello world" syscalls

      I found this article: https://drewdevault.com/2020/01/04/Slow.html but FPC is missing, so I wrote simple:   program Project1; begin   writeln('Hello world!');…

    Vojtěch Čihák, Andreas Schneider, Graeme Geldenhuys
    7
  25. -WP compiler macro?

    Is there a compiler macro which is set to the value of -WP? It would be useful to know which SDK I'm targeted while compiling so I can omit certain code at compile time.…

    Ryan Joseph, Jonas Maebe
    1
  26. Is TryStrToDate works wrong?

    var DT:TDateTime; begin Writeln(BoolToStr(TryStrToDate('1',DT),True)); The result of above code is "True" with FPC and "False" with Delphi. Gabor

    Gabor Boros, Michael Van Canneyt, Winfried Bartnick
    3
  27. Calling function pointer to main program

    I need to override the main program function and then call back the main program later. I know I can use -XM to set another function name besides "main" but then how do…

    Ryan Joseph, Jonas Maebe, leledumbo
    8
  28. fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

    I have now built the fcl-fpreport demos on win64 on a Windows10/64 machine. But the demo is not running (comandline with -d jsondata -f pdf), because the font Arial is…

    Andreas Frieß, Gerd Sager, Michael Van Canneyt
    6
  29. Error format changes between compilers

    Notice how the format of the error changes between ppcrossx64 (built for iPhone simulator) and ppcx64. Is this a bug? It broke my regex for capturing errors and that's…

    Ryan Joseph, Florian Klämpfl
    1
  30. fcl-report - Aggregates are initialized on every page - duplicat exception in expressionparser

    i have found out, if i make a report with more than one page and with aggregate variables, this variables are initialized more than once in procedure…

    Andi Friess
    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