fpc-pascal · 2019-04
- Lazarus Release 2.0.232
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…
- XML - Indent, text content, special char12
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…
- Improve message "Wrong ppu found"3
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
- TThread.OnTerminate never called4
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).
- fpc 3.2: "Declaration of type TTypeList changed"2
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…
- Translating c records2
struct sockaddr_ll { unsigned short sll_family; unsigned short sll_protocol; int sll_ifindex; unsigned short sll_hatype; unsigned char sll_pkttype; unsigned…
- Record helper properties12
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 =…
- class operator enumerator3
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. ===========================…
- {$warn 5024 off} does not work with FPC 3.2.04
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…
- Resolving math expression as input from user1
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?…
- how to customize so Pandroid would be usable from Lazarus for windows10
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,…
- Website/Mantis back online0
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…
- CopyFile for FreePascal without Lazarus?8
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…
- SVN/Webserver maintenance0
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…
- demonstration of bug which do not allow javavcl users to call Android API functions0
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…
- FPCJVM Android and libbass.so calling issue3
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…
- problems while compiling androidr14.inc1
Please do you think, that this Free Pascal compiler error indicates, that some part of androidR14.inc unit have been compiled incorrectly?…
- FPC JVM Android more easy .so library calling command1
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…
- Linux DRM (Direct Rendering Manager) porting1
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…
- mode switch madness17
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…
- MacOS wrong timestamp in debug map object file3
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…
- Optional param modifier42
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”…
- Can FPC optimize: if (s[i]='a') or ...9
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…
- how to call .so library while using FREE Pascal JVM and Android target0
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…
- Using TInterfaceList and casting interfaces2
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…
- strict private construct4
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…
- Helper/function overloads2
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…
- Compile for WinCE 7, target ARM, CPU Cortex-A98
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…
- include bug?0
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…
- Public key algo pascal only9
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…
- TOpenGLControl segfaults on re-parenting2
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…
- 2
