Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2017-11

  1. Is this the correct way to configure fpc for multiple arm-embedded subarchs?

    I am looking for an easy way to have all cortex-m compilers available at the same time to be able to do automated building/testing Inspired by the -V parameter of fpc I…

    Michael Ring, Christo, Christo Crause
    15
  2. FPC 3.0.4 released!

    Finally, the Free Pascal 3.0.4 release is available from our FTP servers. Changes that may break backwards compatibility will be documented at:…

    Marco van de Voort, Benito van der Zander, code dz
    46
  3. FPC attributes / annotations support

    Bringing a discussion from the Lazarus mailing list to here. Is there a timeline when FPC might support attributes/annotations in trunk? Graeme

    Graeme Geldenhuys, el es, LacaK
    22
  4. MSEide+MSEgui 4.6 for FPC 3.0.4

    MSEide+MSEgui version 4.6 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.6/ There are also new versions of MSEgit, MSErun,…

    Martin Schreiber, Andreas, Andreas Berger
    22
  5. Is there a way to execute code after 'initialization' and before 'main', i. e. AddExitProc complement?

    'Initialization' sections are executed in poorly predictable order, so I want to partially order them according to some form of explicit prioritization and execute…

    Роман, Christo Crause, Sven Barth
    2
  6. OT: what happened with the Lazarus mailing list?

    I don't know if the problem is somewhere on my side, but the latest message in Lazarus mailing list on gmane.org is from November 17. I also looked into web archive and…

    Lubos Pintes, Giuliano Colla, Marc Weustink
    3
  7. Getting strange FTP error using Indy 10 idFTP

    I am writing a simple Delphi7/FPC compatible console application in order to use in a daily task to transfer a backup zipfile from a server to my Windows 7 laptop. The…

    Bo Berglund, Zoë Peterson
    4
  8. FORTRAN from FreePascal

    I need to try to put a user-friendly GUI and some graphical output onto an old command-line FORTRAN number cruncher, and have been provided with around 130 KB of FORTRAN…

    brian, Adriaan van Os, Bo Berglund
    23
  9. Minimum Linux version for FPC 3.0.2 (armhf)

    I wonder what the minimum Linux version is ... I have made NAS versions of my app, and it runs fine on an older Synology NAS with this uname info: Linux DS-212j 2.6.32.12

    Tobias Giesen, Florian Klämpfl, Unknown author
    2
  10. FreePascal and MySQL ?

    This is probably a dumb question. But I have data in a tstringlist that I want to upload into a MediumText MySQL column. It looks to me as if you do something like:…

    Terry A. Haimann, Michael Van Canneyt, Snorkl e
    2
  11. Seek to EOF of file of byte

    How should one do this? https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html implies that it's only for text files, Seek(f, FileSize(f)) seems excessive.…

    Mark Morgan Lloyd, Graeme Geldenhuys, Unknown author
    4
  12. fpc procedure modifier []

    Where can I find some information about the [] procedure modifier of FPC? For example: procedure fpc_check_object(_vmt : pointer); [public,alias:'FPC_CHECK_OBJECT']; …

    Mattias Gaertner, Maciej Izak, Michael Van Canneyt
    12
  13. MINIX 3 support

    Does FPC support the MINIX 3 target platform? Or has somebody attempted to port FPC to that platform? Graeme fpGUI Toolkit - a cross-platform GUI toolkit using Free…

    Graeme Geldenhuys, Florian Klämpfl, Mark Morgan Lloyd
    5
  14. Re: fpc-pascal Digest, Vol 161, Issue 18

    What you are describing is also part of my activities. Most of the details have already been mentioned by Adrian and others. Only one more thing: The Fortran code will…

    Schindler Karl-Michael
    0
  15. AggPas / PTCGraph dynamic memory allocation

    I've been trying to figure out how to dynamically allocate memory to be used as a screen buffer to display AggPas generated images with PTCGraph. I don't want it…

    James Richters, Graeme Geldenhuys
    4
  16. Database apps on Debian etc.

    Graeme started a short thread on databases in "The Other Place" a few days ago, but I thought this might be of sufficient general relevance to raise here. I had a system…

    Mark Morgan Lloyd, Graeme Geldenhuys, Tony Whyman
    3
  17. installing cross fpc in parallel to systems fpc

    how does fpc and it's makefiles handle the case of installing a cross compiler on a system having fpc installed? The target path will differ and I can set that, but how…

    Marc Santhoff, Christo, Giuliano Colla
    17
  18. WinHTTP.h Translation

    Does Free Pascal has any header translations for WinHTTP.h <https://msdn.microsoft.com/en-us/library/windows/desktop/aa382925(v=vs.85).aspx> ? Ragards

    African Wild Dog, Sven Barth
    2
  19. Object-oriented file (path) handling library

    is there something simliar to Java's java.io.File or java.nio.Path for FPC? Google makes me think there isn't... Flávio

    Flávio Etrusco, leledumbo
    1
  20. -O2 internal compiler errors

    When I turn on -O2 I get a never ending stream of internal error 2009112601 which I think is from various inlined operator overloads (didn’t do much testing though).…

    Ryan Joseph, Karoly Balogh (Charlie/SGR
    2
  21. Memory Leak's in XMLRead unit

    Using ReadXMLFile function from XMLRead unit generates memory leaks when trying to read a invalid XML content. ==== CODE ==== program xml_leak_test; uses XMLRead; var…

    African Wild Dog, Marcos Douglas B. Santos, Michael Van Canneyt
    5
  22. FPC Debug line numbers

    I've noticed that line numbers are sometimes off, sometimes quite a bit when I receive a run-time error. I had one today, it specified the correct function that was…

    James Richters, Adriaan van Os, el es
    5
  23. FPC install on windows with limited rights

    I have a severely locked down laptop (work one) so I can't install anything that creates menu shortcuts, desktop icons or goes into "Program Files". So I can't run the…

    Graeme Geldenhuys, Bart, Flávio Etrusco
    9
  24. Float packing

    I’m trying to pass a value between 1-1000 to an GLSL shader program which only supports floats with a precision of 1 decimal place so the plan is to pack the value…

    Ryan Joseph, Karoly Balogh (Charlie/SGR, Marco van de Voort
    5
  25. fcl-passrc: in which line a TPasElement ends?

    a question to TPasElement of fcl-passrc: To get the line in which the element starts I use the public SourceLinenumber field. But how do I get the last line of this…

    Michael Fuchs, Michael Van Canneyt
    4
  26. using Interfaces in descendant classes 2.6.4 vs 3.x

    Some of my programs were last compiled with FPC 2.6.4, and there I used Corba-style Interfaces without a problem. I've now recompiled those projects with FPC 3.0.4 and…

    Graeme Geldenhuys
    3
  27. cpu_relax() in freepascal

    I want to implement the cpu_relax() function in order to use it inside loops. However before, I would like to know if the fpc compiler is doing an optimization of this…

    Matias Vara, Adriaan van Os, Karoly Balogh (Charlie/SGR
    4
  28. move problem

    I was just trying to run some old code and found that my calls to Move are crashing (3.1.1/ppcx64) so I tried to make this simple example and it’s crashing also. Also…

    Ryan Joseph, Adriaan van Os
    2
  29. Compiler directive to compile to 64 bits

    Hi, a newbie question but the docs aren't clear on how to say that I want to use the 64-bit compiler, not the i386. I'm on Windows, so I installed the native i386-win32…

    Cleverson Casarin Uliana, leledumbo
    2
  30. Forbidden access to the packages page

    Hello, is it normal that the following URL gives a 403 forbidden error when trying to access via Firefox? Here it does: https://www.freepascal.org/packages/ Greetings…

    Cleverson Casarin Uliana, Ralf Quint
    1