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. record alignment

    I have a struct I need to port from C but the size I’m getting in Pascal is wrong. From C sizeof(AAPLVertex) = 32 but in Pascal sizeof(AAPLVertex) = 24. The alignment…

    Ryan Joseph, Karoly Balogh (Charlie/SGR
    2
  2. Better usage of "with"

    I was just watching a video from Jonathan Blow (the developer of a really popular game named Braid) on a new language he’s working on to get around all the cruft and…

    Ryan Joseph, Marco van de Voort, Marcos Douglas B. Santos
    15
  3. round(2.5)=2

    The round function behaves different than in TurboPascal, and its English Wiki page differs from the German page. When given an argument halfway between to integers,…

    Klaus Hartnegg, Bernd Oppolzer, Florian Klämpfl
    19
  4. Re: Regression in StrToDateTime()

    You also can make your own procedure to fix the issue for yourself. Like you can rewrite the function StrToDateTime() to change all '. ' to '.' and then call the…

    Carmel computer - Antal, LacaK
    2
  5. FP IDE browse-function (search symbol) errors

    I'm struggling with two issues with the Search,Symbol (Browse) function of the FreePascal IDE. Are these known issues, or is something wrong with how I installed or…

    Klaus Hartnegg, Marco van de Voort
    1
  6. Migrate Delphi XE5 to FPC/Lazarus, any advice?

    I have this big tomographic data interpretation and visualization program on my hands for maintenance. It was started back in 2002 by another developer using Delphi7 and…

    Bo Berglund, Mattias Gaertner, Michael Schnell
    7
  7. Dynamic arrays using management operators

    Since we were talking about dynamic arrays I was curious to see if they could be implemented using the new management operators so I made a little proof of concept by…

    Ryan Joseph, Martin Schreiber, Michael Van Canneyt
    14
  8. Anchors on a child form

    If I create a child form by setting Parent:=other_form; in FormCreate, it cannot be dragged to a new position by the user. If I then remove the top and left anchors by…

    Martin Wynne, Giuliano Colla, Mattias Gaertner
    5
  9. OSv v0.51.0 released with FreePascal support

    the announcement on the OSv list: https://groups.google.com/forum/#!topic/osv-dev/4KWShVlt08s An excellent wiki article has been written back in september 2016 about…

    Jy V
    0
  10. HTTPRoute.pas and TRouteObject

    Working on a standalone web project using the new routing. I have a class descended from TRouteObject. My problem is that the constructor cannot be marked override so…

    Kevin Jesshope, Marcos Douglas B. Santos, Michael Van Canneyt
    3
  11. := overload with implicit arrays in generics

    Is this is a bug or am I not doing something right? I wanted to assign an implicit array (I think thats what those parameters are being called now) so I made an overload…

    Ryan Joseph
    1
  12. C# stackalloc

    As a sanity check for myself if you remember a while ago I posted about an idea for “stack aliases” to override the memory allocation for classes. No one really…

    Ryan Joseph, Michael Van Canneyt, Unknown author
    5
  13. Free e-book: Free Pascal from Square One

    See http://www.contrapositivediary.com/?p=4034 It's by Jeff Duntemann, and based on his 1993 book "Borland Pascal 7 from Square One". Jonas

    Jonas Maebe, Joost van der Sluis, Marcos Douglas B. Santos
    3
  14. השב: Re: Free e-book: Free Pascal from Square One

    נשלח מסמארטפון ה-Samsung Galaxy שלי. <div>-------- הודעה מקורית --------</div><div>מאת: Joost van der Sluis …

    ezrashumla
    0
  15. Sets & FPC

    I've got a piece of code which uses TOwnerDrawStateType and TBaseOwnerDrawState which is set of TOwnerDrawStateType , if i have on variable called state which is…

    Justin Smyth, cobines, Jonas Maebe
    12
  16. Privacy statement published.

    As most of you are aware, the servers of FPC (and many of the collaborators of the core team) are located in the EU. The GDPR (General Data Protection Regulation) is in…

    Michael Van Canneyt
    0
  17. -gw and -O3

    What happens when you have both those switches on at the same time? Does the -gw affect the performance or just output information in addition to the optimized…

    Ryan Joseph, Sven Barth
    1
  18. Feature announcement: Unicode character constants outside of BMP

    Hello together! Small feature announcement this time, but some might like it nevertheless: FPC now supports unicode character constants that are outside of the Basic…

    Sven Barth, Marco van de Voort
    1
  19. Class Helper to implement an Interface

    Can I make a class helper to implements an Interface in an existing class? For example, TStringList class has Find: public function TStringList.Find(const S: string; out…

    Marcos Douglas B. Santos, Marco van de Voort
    2
  20. Management operators question

    Talking about dynamic arrays I was just curious if we could us the new management operators to make dynamic arrays that are managed on the stack. Here’s a quick demo I…

    Ryan Joseph, Alexander Grotewohl, Maciej Izak
    11
  21. Libxml2 - How to get messages on Linux?

    I need to accomplish validate XML files with an XSD. Found libxml in packages and works as expected with Win32. But I have problem with messages on Linux 64bit. Got %s…

    Gabor Boros, Henry Vermaak, Michael Van Canneyt
    5
  22. -gw3 produces garbages

    The `-gw3` with `godwarfcpp` flag for lldb produces garbages for string type or any dynamic array types. While `-gw2` only works on string but still failed on any…

    Mr Bee
    0
  23. Lazarus Release 1.8.4

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

    Mattias Gaertner
    0
  24. Printing TFPImage to TCairoPSCanvas

    Hi, I need to print an TFPMemoryimage into Printer.Canvas (which uses TCairoPSCanvas to printing to CUPS) from a Linux CGI (no widgetset), but it seems that it's an…

    Leonardo M. Ramé, Graeme Geldenhuys, Michael Van Canneyt
    4
  25. Dynamic Array, operator +

    Mixing dynamic and static array does not work properly yet. I compiled the following code with the latest trunk of FPC (revision 39062): procedure Ausgabe(a: array of…

    Mathias, Sven Barth
    1
  26. Re: fpc-pascal Digest, Vol 167, Issue 39

    The dynamic array constructors sound absolutely wonderful! I have code with rather awkward workarounds that will benefit a lot by these features. /Ingemar

    Ingemar Ragnemalm
    0
  27. TJSFloat32Array casting

    Did something change? I just tried this and it didn’t work. Casting “arr” to TJSObject didn’t work either. I could swear that used to work a few days ago. Maybe…

    Ryan Joseph
    1
  28. LongBool True = -1

    I am working with some a glib library that expects gboolean to be positive 1 for true, yet FPC emits -1 for true. Is there a compiler flag to force boolean types to emit…

    Anthony Walter, Dmitry Boyarintsev, Gerhard Scholz
    5
  29. Anyone know where Blaise Thorne is?

    Has anyone had any contact with Blaise Thorne in the past couple of months? In mid-March he told me he would have an updated version of the closure branch ready in a…

    Zoë Peterson
    0
  30. ExceptProc no longer gets Frames if DLL host uses a different memory manager

    I have a Win64 DLL compiled with FreePascal 2.6.0 in which I install a ExceptProc handler which signature is as follows: procedure MyExceptProc(Obj: TObject; Addr:…

    OBones
    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