Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2020-01

  1. fpmmap arm-linux issue

    Hi all! I'm porting a program written in C that uses mmap (fpmmap) that maps GPIOs and other utilities on a beaglebone. Everything is going well, until the test, where I…

    Fabio Luis Girardi, Bo Berglund, Florian Klämpfl
    8
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. "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
  9. -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
  10. 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
  11. 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