Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2021-06

  1. Trying to update to: Xcode 12.5, FPC 3.2.2

    I'm jumping up to the latest xcode 12.5to be able to develop on iOs 14.x My trusty old FPC 3.0.5 worked just fine for iOs Target. But the simulator is a different…

    Unknown author, Jonas Maebe, Ng Pheng Siong
    5
  2. FPC & Lazarus moving to gitlab

    The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage their source code and issue reports. In order to lower maintenance of their own…

    Michael Van Canneyt, Bo Berglund, Florian Klämpfl
    9
  3. How to check if a network is available?

    I would like to know how I can check if a remote network is available, i.e. if the VPN system has succeeded to connect the remote network. I need this in a class that…

    Bo Berglund, James Richters, Jean SUZINEAU
    11
  4. Tuples as variant arrays

    Is it possible something like this could work? Seems like it should but I get an error (got MyRecord expected variant). ==================================== {$mode…

    Ryan Joseph, Michael Van Canneyt, Sven Barth
    2
  5. Linker error on simple program (windows)

    Given this unit: unit ExtMath; {$mode objfpc} interface function LeadingZeroBits(n: Byte): Integer; inline; implementation function LeadingZeroBits(n: QWORD; BitSize:…

    Bart, Sven Barth
    3
  6. Push rules

    Martin asked how we intend to go about git commit authors/emails. These can of course be manipulated at will in Git. But gitlab can place some restrictions on what is…

    Michael Van Canneyt, Sven Barth
    1
  7. GetSaveFileNameA limited to 100 characters in default name

    I'm using GetSaveFileNameA() in a windows console program to obtain a save-as directory and file name, I am passing sending it a default file name with:…

    James Richters, Alexander Grotewohl, Jean SUZINEAU
    13
  8. Will the size of an executable depend on the uses clause

    If I by habit add a bunch of often used units to the uses clause will that affects the size of the compiled application even if they are not in fact used? I.e. if there…

    Bo Berglund, Bart, Florian Klämpfl
    27
  9. TRegistry documentation

    Is there documentation for TRegistry somewhere? I've been searching for information on it, and so far I've only been able to find:…

    James Richters, Bart, Jean SUZINEAU
    11
  10. TMemoryStream.SetSize question.

    Why does TMemoryStream only implement one version of SetSize method? https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/classes/classesh.inc?revision=49038&vi…

    gabor, Michael Van Canneyt
    4
  11. Management operators memleaks

    Hi all I created a test case for rather unusual behaviour of management operators in fpc 3.3.1. In some specific cases they produce memory leaks. I suspect it's some…

    denisgolovan, Ryan Joseph, Sven Barth
    5
  12. Annual inform

    Rafael Angel Campos Vargas
    0
  13. Remove last character from pchar

    I am a bit struggling with what should be fairly simple. I have a pchar where I am adding and removing characters. What I did so far is to allocate new memory every time…

    Darius Blaszyk, James Richters, Jean SUZINEAU
    4
  14. FPC 3.2.2 (In)complete Boolean Evaluation on 32bit MacOS

    it seems that the newest 32-bit FPC sometimes creates complete Boolean Evaluation rather than partial, which causes my application to crash. My context is like this:…

    Tobias Giesen, Pierre Muller
    1
  15. Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

    I have an application which is ported from Delphi to FreePascal and will be used on Raspberry Pi (Debian based Linux). It uses Indy10 components. Indy is installed using…

    Bo Berglund, Arne Hanssen, gebylist
    43
  16. Linux Yad

    Has anyone called Yad (linux file manager) as an external program form a main program ? If so can you provide an example of how to do it and retrieve the selected file…

    Brian
    0
  17. is this a bug?

    I am using FPC v. 3.2.0 on both linux and windows. I use Firebird as a database (not sure that this is important). Say you write var AConnection:TIBConnection;…

    duilio foschi
    1
  18. Option type

    Hi all I am trying to implement Option<T> type in FPC. type generic TOption<T> = record case IsSome:boolean of true: ( some: T ); false: (); end; However fpc just emits…

    denisgolovan, Henry Vermaak, Martin Frb
    12