fpc-pascal · 2013-11
- Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression13
Environment: Ubuntu 13.10 64bits FPC 2.6.3 - Rev 26119 Lazarus 1.2RC - Rev 43472 When i try compile for i386, i get this: Free Pascal Compiler version 2.6.3 [2013/11/23]…
- subtract longwords with rollover8
How can I subtract two longwords such that when the result becomes negative, it rolls over? A := A - B triggers runtime error 201 when the result is negative. dec (A,B)…
- CRITICAL Bug in Lnet DNSLookup failure problem1
when using lnet to connect to a remote server at DomainName : Port e.g. yahoo.com : 80 in file lCommon.pp line 492: function StrToNetAddr(const IP : String) :…
- Objects in dynamic arrays7
How exactly are instantiated classes treated in an array? Can I copy one into another? And if I unallocate an array member, does it automatically Destroy the object? I…
- Bug in AnsiCompareText of cwstring5
When using the cwstring widestringmanager the function AnsiCompareText seems to have a bug. For example: {$mode objfpc}{$H+} uses Classes, SysUtils, cwstring; begin…
- Is the GIT repository updated?4
In: https://github.com/graemeg/freepascal/commits/master The last commit it: "jmaebe authored 22 days ago". Silvio Clécio My public projects - github.com/silvioprog
- Memory leak in PascalScript0
Can you help me to fix this issue?: https://github.com/remobjects/pascalscript/issues/61 Thank you! Silvio Clécio My public projects - github.com/silvioprog
- CAB file format3
FPC has a lib to create CAB file format? Marcos Douglas
- GetAffinity\SetAffinity21
Good day. There is a need to establish some process affinity using free pascal and ubuntu. Do not tell that on this occasion you can read? Thanks in advance
- FastMM for FPC?0
Hello We found an old link from 2005 about a FastMM port : http://free-pascal-general.1045716.n5.nabble.com/First-Test-of-FastMM4-for-fpc-td2809801.html Is it still…
- Is Nested Procedure Types4
I'm wondering if the is nested procedure type is supposed to work {$modeswitch nestedprocvars} Type TMyCallback=procedure(Index:Integer) is nested; I thought 2.6.0 was…
- Double and LongWord1
Hi This Function works on Intel platforms but when compiled to Arm (Linux) the right side is calculated as a LongWord. Const cSecondsPerDay=86400.0;…
- not possible add into class helper overloaded variant of some virtual method2
in actual trunk - fpc 2.7.1 - is not possible to do folloving: unit uStringListHelper; {$mode delphiunicode} interface uses Classes, SysUtils; type { TStringListHelper }
- virtual method and generics2
In my TTree class: https://github.com/xrfang/fpcollection/blob/master/src/units/tree.pas I have the following method: function TTree.Load(s: TStream): Integer; var lv,…
- Problem building fixes_2_67
Trying to build 2.6 fixes on x86 with fpcup, Windows, starting with fpc2.6.2 compiler; I get: classes.inc(136,11) Warning: Symbol "Resume" is deprecated…
- ibase package8
Hi Folks. I'm a little bit annoyed by a boring specification in the fpc package. When in a program I use the TIBConnection (along witha transaction and a query), the…
- optionally uses a unit4
Is it possible to optionally use a unit? e.g. unit myunit; uses {$ifexists persist.pas}persist,{$endif} Classes; type TMyClass = class public {$ifexists persist.pas}…
- TBookmark Type Change Status Request2
Does anyone have an update on which release the TBookmark type change from pointer to TBytes is going to be rolled out? I have heard that it will not now be in 2.6.4.…
- CompareMem documentation2
Documentation here: http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/comparemem.html says that the function returns <0, 0 or >0 while actually it returns a Boolean.…
- any good data compression library for Free Pascal?1
the paszlib has bug for large file sizes so I need another one. Thanks. Dennis
- paszlib problem: integer overflow5
I downloaded the Paszlib-sg from http://sagsehome.net/oss/paszlib-sg.php (as suggested by Paszlib freepascal.org wiki). I works fine on my Delphi 5 until I try to…
- generic/enumerator: Internal error 2003012312
I have internal error when I compile the unit (see source below): ~/proj/trunk/core/collection]$ fpc dlist.pas4 dlist.pas4(36,1) Fatal: Internal error 200301231 Fatal:…
- Move with pointers to memory9
http://www.freepascal.org/docs-html/rtl/system/move.html I have a working function in assembler wich copys a memory block from sorce to destination. Now I want it to do…
- use of "inherited" keyword1
Is it OK to use "inherited" in any instance method? i.e. It is OK to do this: procedure TChildClass.DoIt;//override begin inherited DoIt; end; But is it ok to do this:…
- The "overload" keyword1
According to http://www.freepascal.org/docs-html/ref/refsu72.html, the overload keyword is mostly optional and for delphi compatiblity only. But on Oct. 27, Sven replied…
- "identifier not found" case probelm5
at the moment i have a case where each choice leads off to a procedure. .. looks like this repeat writeln('Main Menu'); writeln('1. New Customer Info'); writeln('2.…
- FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support6
Attempt to compile IDE from snapshot with GDB: FPC GO32V2 2.6.2 is installed in z:\pp PATH contains Z:\pp\bin\go32v2 Instruction from Tomas Hajny does not work:…
- UPnP Component4
at work, i have a project which needs very limited UPnP capabilities. All it needs, is to open a port and do a port forwarding for a limited period of time closing it…
- Proper way to cast dynamic array in watch window?2
Using the FPC console IDE. When I define a typed array with limits, ie.: type tbarray=array[0..1023] of byte; var foo:tbarray; ...I can view the contents of in the…
- any workable synapse https server (SSL) sample available?3
I downloaded the synapse4.0 but the sample project httpSserver inside does not work. When I pointed the Chrome and Firefox browser to http://192.168.1.4/ firefox…
- FpHttpServer and DaemonApp does not works on Linux2
I'm trying to use a HTTP server with daemon on Linux, but, it does not works. I did a project that is working perfectly well on Windows, but on Linux, although the…
- is there a way to list out all classes defined in a unit during run time?1
I have a unit which I will incrementally add new subclasses of TCommand. At run time, I want to get a list of subclasses of TCommand so that I can compare the where the…
- Viewing disassembly without call stack?1
When I use the text-based FP CUI and my program crashes, I have the ability to go to a line in the resulting call stack and hit ALT+I to view the disassembly of where it…
- System.FileSize documentation4
"Filesize returns the total number of records in file F. It cannot be invoked with a file of type Text. (under linux and unix, this also means that it cannot be invoked…
- MSElang, the future compiler for MSEide+MSEgui10
A Wiki about the future compiler has been started: https://sourceforge.net/p/mseide-msegui/wiki/MSElang/ Please join the mailing list…
- Pointer to a const char3
How can I describe a "pointer to a constant char" in FreePascal? For example this C function: int some_func(const char *arg, ...); My guess in FreePascal is this(with…
- Namespaces Support110
I'm new to free-pascal. Will fpc 2.7.x have some namespace implementation/support? Thanks
- MorphOS3
I just happened across your group while scanning the internet for topics related to my interests. I used to use Pascal uner Microware OS-9 on the Tandy Color computer…
- Over-zealous Warning about dynamic string initialization3
The following program: program Project1; {$mode objfpc}{$H+} var s:ansistring; begin WriteLn('s <',s,'> always seems to be initialized to '''''); end. produces a Warning…
- Powtils: lightwebserver, lightwebserver2 or lightwebserver3?15
I'm needing to create a own HTTPS server. Googling, I found Powtils(*), with three servers: lightwebserver, lightwebserver2 or lightwebserver3. So, which one is…
- Re: Re: SqlDB fails under Windows to create a newFirebirddatabase0
I was going to test that as soon as I have access to a Linux/FreeBSD environment again. I'm currently working on a remote system that only has Windows. In the mean time…
