Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2019-04

  1. Lazarus Release 2.0.2

    The Lazarus team is glad to announce the release of Lazarus 2.0.2. This release was built with FPC 3.0.4. The previous release Lazarus 2.0.0 was built with FPC 3.0.4 as…

    Mattias Gaertner, Benito van der Zander, Bo Berglund
    32
  2. XML - Indent, text content, special char

    I have an existing XML file. After load(, modify) and save this file some mandatory formatting things lost from it. I need same indent as before, same text contents and…

    Gabor Boros, Bernd Oppolzer, Michael Van Canneyt
    12
  3. Improve message "Wrong ppu found"

    Suggestion: in the message $subj, can you add FPC version of that PPU? so it will be "Wrong PPU found [FPC 2.7.8]" when FPC needs PPU for 3.2.0. Alexey

    Alexey Tor., leledumbo, Sven Barth
    3
  4. TThread.OnTerminate never called

    I am using FPC 3.0.4 Lazarus 2.00 on windows 64 I created a subclass of TThread and found out that the TThread.OnTerminate event was never called (I already assigned it).

    Dennis, Luca Olivetti, Sven Barth
    4
  5. fpc 3.2: "Declaration of type TTypeList changed"

    as per the subject, I've been bitten by this change: http://wiki.freepascal.org/User_Changes_Trunk#Declaration_of_type_TTypeList_changed This code (FTasks is a…

    Luca Olivetti, Sven Barth
    2
  6. Translating c records

    struct sockaddr_ll { unsigned short sll_family; unsigned short sll_protocol; int sll_ifindex; unsigned short sll_hatype; unsigned char sll_pkttype; unsigned…

    Rainer Stratmann, Michael Van Canneyt, silvioprog
    2
  7. Record helper properties

    I feel like I may have asked this before but I can’t find anything on Google. Why doesn’t this work? program test; type TRec = record x: integer; end; type THelper =…

    Ryan Joseph, Alexander Grotewohl, Mattias Gaertner
    12
  8. class operator enumerator

    Is "class operator enumerator” supposed to work or is this a bug that it compiles but doesn’t do anything? Seems like it should work. ===========================…

    Ryan Joseph, Ben Grasset, Sven Barth
    3
  9. {$warn 5024 off} does not work with FPC 3.2.0

    I have included the following lines in a "fpg_defines.inc" include file in my project, yet when I compile/build my project, it still shows that compiler hint (as can be…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    4
  10. Resolving math expression as input from user

    I'm trying to figure out if there is some function available that would take a string as input and return a double value that is the complete evaluation of the string?…

    James Richters, Sven Barth
    1
  11. how to customize so Pandroid would be usable from Lazarus for windows

    I have found out that Pandroid bundle is The onlyone project which is able to call .so libraryes in JVM mode and is also able to support all Android API functions call,…

    Mgr. Janusz Chmiel, Alexander Grotewohl, Bo Berglund
    10
  12. Website/Mantis back online

    The website has been restored to working order. SVN should be working again, Mantis has been updated to the latest version. We're still working on some features, for…

    Michael Van Canneyt
    0
  13. CopyFile for FreePascal without Lazarus?

    Is there a copyfile for Freepascal I can use without installing Lazarus? I found: http://wiki.freepascal.org/CopyFile but that seems to only work with Lazarus. I just…

    James Richters, Bart, Benito van der Zander
    8
  14. SVN/Webserver maintenance

    This afternoon (for GMT+1) you will experience downtime in the website of FPC, The subversion service for FPC/Lazarus and the bugtracker. The host machine needs…

    Michael Van Canneyt
    0
  15. demonstration of bug which do not allow javavcl users to call Android API functions

    Here is little example, which indicates why is it not possible to call Android API functions while using Java FVCL bundle unit MainForm; {$mode objfpc} {$H+} interface…

    Mgr. Janusz Chmiel
    0
  16. FPCJVM Android and libbass.so calling issue

    Please does somebody of you know, why is it impossible to call libbass.so in JVM Android mode if external command is being used for this task? Because I Am getting…

    Mgr. Janusz Chmiel, Jonas Maebe
    3
  17. problems while compiling androidr14.inc

    Please do you think, that this Free Pascal compiler error indicates, that some part of androidR14.inc unit have been compiled incorrectly?…

    Mgr. Janusz Chmiel, Jonas Maebe
    1
  18. FPC JVM Android more easy .so library calling command

    Does somebody of you know about The possibility how to make call of external .so libraries more easier? If developer will use ppcjvm, target set to JVM and Android…

    Mgr. Janusz Chmiel, Jonas Maebe
    1
  19. Linux DRM (Direct Rendering Manager) porting

    Currently I am porting some C code from the Linux DRM Mode-Setting API to pascal. First in my own way. So that it is usable for me. But it would be possible to make a…

    Rainer Stratmann
    1
  20. mode switch madness

    Can I propose we add a new $modeswitch-all (or some equivalent) that globally sets modeswitch in all subsequent units? I’m thinking about how messy this list is…

    Ryan Joseph, Anthony Walter, Ben Grasset
    17
  21. MacOS wrong timestamp in debug map object file

    I don't know the Mac well enough... What could cause the below? From https://forum.lazarus.freepascal.org/index.php/topic,44950.msg317604.html#msg317604 The logfile…

    Martin, Jonas Maebe, Marco van de Voort
    3
  22. Optional param modifier

    I had another idea yesterday while working with Swift and I was curious to hear what anyone thought. In Pascal we have “const”, “constref" “var”, “out”…

    Ryan Joseph, Anthony Walter, Benito van der Zander
    42
  23. Can FPC optimize: if (s[i]='a') or ...

    E.g. i have a loop which test each s[i] char for several cases: 'a', 'b', 'c'. for i:= 1 to length(s) do if (s[i]='a') or (s[i]='b') or (s[i]='c') then ... Can FPC…

    Alexey Tor., Bernd Oppolzer, Rainer Stratmann
    9
  24. how to call .so library while using FREE Pascal JVM and Android target

    Is it possible to call .so library when I have used Free Pascal compiler and I have set JVM target and option to create Android compatible Java classes? Because when…

    Mgr. Janusz Chmiel
    0
  25. Using TInterfaceList and casting interfaces

    how should one use TInterfaceList with other interfaces than IUnknown? Let's say we have a ISomeInterface derived from IUnknown. When we have an ISomeInterface, we can…

    Benito van der Zander, Sven Barth
    2
  26. strict private construct

    What exactly is the point of "strict private"? I believe FPC supports it too, after Delphi added it. It makes absolutely no senses to me. From the name and original…

    Graeme Geldenhuys, Mattias Gaertner, Sven Barth
    4
  27. Helper/function overloads

    Is this a bug or intended behavior? I can call it like Test.DoThis but it seems like overloading should work. {$mode objfpc} program test; type THelper = class helper…

    Ryan Joseph, Anthony Walter, Michael Van Canneyt
    2
  28. Compile for WinCE 7, target ARM, CPU Cortex-A9

    Is there needed something special to setup when I want compile for my Symbol MC9200 device, which has Windows Embedded Compact 7 and Dual core 1GHz OMAP 4 processor (ARM…

    LacaK, Christo Crause, Cyrax
    8
  29. include bug?

    I’m trying to use relative include paths instead of using the compiler flag but I’m now having problems where other include files are not detecting changes unless I…

    Ryan Joseph
    0
  30. Public key algo pascal only

    Is there any public/private key algorithm, pascal only, implemented in the distribution of fpc ? Degree of security is not important, also a 3rd party unit which does…

    José Mejuto, Jy V, Michael Van Canneyt
    9
  31. TOpenGLControl segfaults on re-parenting

    Hi all I experience various random segfaults when trying to change Parent for TOpenGLControl. Unfortunately it happens rather randomly. Sometimes it happens deep in GTK…

    denisgolovan
    2
  32. Fatal: Can't find unit GL used by GLPT

    Darius Blaszyk, Jonas Maebe
    2