fpc-pascal · 2017-11
- Is this the correct way to configure fpc for multiple arm-embedded subarchs?15
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…
- FPC 3.0.4 released!46
Finally, the Free Pascal 3.0.4 release is available from our FTP servers. Changes that may break backwards compatibility will be documented at:…
- FPC attributes / annotations support22
Bringing a discussion from the Lazarus mailing list to here. Is there a timeline when FPC might support attributes/annotations in trunk? Graeme
- MSEide+MSEgui 4.6 for FPC 3.0.422
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,…
- Is there a way to execute code after 'initialization' and before 'main', i. e. AddExitProc complement?2
'Initialization' sections are executed in poorly predictable order, so I want to partially order them according to some form of explicit prioritization and execute…
- OT: what happened with the Lazarus mailing list?3
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…
- Getting strange FTP error using Indy 10 idFTP4
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…
- FORTRAN from FreePascal23
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…
- Minimum Linux version for FPC 3.0.2 (armhf)2
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
- FreePascal and MySQL ?2
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:…
- Seek to EOF of file of byte4
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.…
- fpc procedure modifier []12
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']; …
- MINIX 3 support5
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…
- Re: fpc-pascal Digest, Vol 161, Issue 180
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…
- AggPas / PTCGraph dynamic memory allocation4
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…
- Database apps on Debian etc.3
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…
- installing cross fpc in parallel to systems fpc17
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…
- WinHTTP.h Translation2
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
- Object-oriented file (path) handling library1
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
- -O2 internal compiler errors2
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).…
- Memory Leak's in XMLRead unit5
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…
- FPC Debug line numbers5
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…
- FPC install on windows with limited rights9
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…
- Float packing5
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…
- fcl-passrc: in which line a TPasElement ends?4
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…
- using Interfaces in descendant classes 2.6.4 vs 3.x3
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…
- cpu_relax() in freepascal4
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…
- move problem2
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…
- Compiler directive to compile to 64 bits2
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…
- Forbidden access to the packages page1
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…
