fpc-pascal
Subscribe to this list Your subscription
Latest threads
- How to free this memory and avoid memory leak12
I enabled heaptrc and it reported on block of memory not being freed. I tracked it down to the following method in my code. I have tried everything I can think of, but…
- freepascal and apache8
hi. this code uses SysUtils, httpd; function read_Post(r: Prequest_rec; data: string): boolean; var types: string; begin Result := True; if (r^.method_number M_POST)…
- Object instance is suddenly corrupt or of unknown type?2
I'm using FPC 2.3.1 on a 64bit Linux system. I have a field variable which is an class instance. Many methods use this field variable and it's properties. I suddenly…
- TUN/TAP6
Can anyone help me decypher the following code : int tun_alloc(char *dev) { struct ifreq ifr; int fd, err; if( (fd = open("/dev/net/tun", O_RDWR)) < 0 ) return…
- CIL as a target machine for FP binaries1
I am changing the title of the topic, but it follows the discussion with Juha Manninen and the last answer of Jonas. In fact, I have asked some time ago, if there was a…
- Help collecting GetAppConfigDir output5
I am trying to collect the output of GetAppConfigDir/File from various systems, but I don't have easy access to a Windows Vista computer. Maybe someone would be kind…
- Early BSD's Pascal system4
I notice that in early 1977, BSD contains a Pascal interpreter (or maybe compiler, I am not sure). How was it later? Is there any remain archives?
- Dataset modification and reading at the same time7
I am having a dilema with a dataset based app. I have 2 dataset objects pointing to the same database file, one connected with data-aware controls to allow the user to…
- Clear interactive questions with default values management ?0
Following another post on menu building I'd like to know if someone could help me to build such kind of interactive Linux console questions : Question 1…
- multiple inheritence4
I've been reading about multiple inheritance in the list archives, and from what I gather, it is only supported through a combination of "interfaces" and classes; one…
- Question about ror / rordword...2
Quick question: Is there any particular reason why the system function ror() (in /fpc/rtl/inc/systemh.inc) has been divided up into rorbyte, rordword and rorqword (and…
- Is this an error ?4
Can anybody explain me if this code is expected to fail with a SIGFPE in 64 bits windows 2.2.4 fpc: procedure test; var i6: int64; qw: QWord; r: int64; begin i6:=40;…
- list working again?1
my last couple messages bounced, and I haven't received many messages lately... until tonight. Was the listserver down, and is it back up now? David
- libtar Question0
The question is " how to use the create function for adding a new file to an existing archive without deleting all it contents ?" Here is a piece of code which always…
- Sockets0
If I create a TCP socket with fpSocket(AF_INET,SOCK_STREAM,PF_UNSPEC); fpBind(lSock, @sAddr, sizeof(sAddr))<0 then fpListen(lSock, cMaxConn)<0 thenand And waits for…
- Move() vs MemCopy()16
I'm still porting code from SpeedSoft's Pascal compiler. The code I am porting often uses MemCopy(), but Free Pascal doesn't seem to have such an implementation. So I…
- Meaning of "^M^J"3
I read a source file,found it writes "^M^J" to a output. I don't know what is it's meaning, after test,I think it should be a return char, my question is, where can i…
- String to PString assignment?3
I'm converting a project from Sibyl (a old OS/2 IDE implement in SpeedSoft Pascal). Below is the code I'm trying to convert to Free Pascal. I see FPC has a PString type,…
- Command prompt1
In the old days you could write exec(C:\DOS\COMMAND.COM',' COM1'); and then get access to the command prompt via a serial interface Could someone give me a hint how to…
- How to build Nice and Convenient Console Menu ?9
Hi Does anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ? Thanks Tom…
- About extPascal5
I down loaded the extPascal package when i compile the ExtPascalSamples3.dpr see the following message: Fatal: Can't find unit Ext used by ExtPascal I use the…
- WPO in fpc bootstrap process1
I notice nowadays fpc is bootstrapped with WPO enabled. Since WPO strategy used by fpc is two phase build, the build time takes significantly longer. I don't see much…
- Extend linker error message for multiple defined symbols0
Is there any option (e.g. -v variant or something else) to display additional information about multiple defined symbols error when linking? I mean something like where…
- PasJS2
Hi ! Im working on the PasJS translator but im having some problems : How to map ObjectPascal object orientation philosophy into JavaScript object orientation philoshopy…
- FPC reference manual.7
Hello. I'm new to FPC. I've used TP for many years up to TP7 but not Delphi. Then I came to Ada. FPC seems to bring many enhancements to TP. First I'm reading some…
- Compiling FPC itself with optimization7
How optimized is FPC itself when I do a 'make all' in the source directory? No optimization, memory optimized, speed optimized, all of the above, etc.. Can I improve…
- How to use var or object in a programm file from a unit file6
Program prog1 use unit1 myObj=class private public ..... end; --------------------------- unit unit1 .............. like above, can i access myObj in unit1?
- options for better performance & declaration of system procedures6
Hi. I just tried to unfairly compare fpc-compiled binary and gcc-compiled binary under my Gentoo box. FPC is incredible. `ps` data shows the fpc one costs nearly no…
- map file8
Good day. Do not prompt way to generate map file with line numbers in source code? By analogy with Delphi. Since not get to the addresses in the Call Stack to get a line…
- Questions1
I have some questions about the RTL and FPC and how it effects what license I can use for my source. 1) Does FPC impose any license restrictions for the programs I…
