fpc-pascal · 2006-09
- .NET FAQ36
I read the .NET FAQ http://www.freepascal.org/faq.html#dotnet. I think the supposed advantage of portability should be refuted more clearly. I think object pascal code…
- Re: presenting fpunit test results19
most of what I do is programs that output HTML results. I'm sure I can be of some assistance to you. Can you zip and send the unit test results to me so I can make you a…
- Threads executing in sequence instead of parallel29
We have a problem!!! The test project /fcl/tests/threads.pp as well as a Sort Demo (Bubble, Section and Quick Sort) all execute the threads in sequence, waiting for the…
- Problem translating c code to pascal6
I'm converting apache 1.3 headers to pascal, and I found something I don't know how to convert. It's these lines: static const handler_rec hw_handlers[] = { { NULL } };…
- Re: RE: Threads executing in sequence instead of1
-- Jason Now -- Hi Graeme! I always enjoy your posts. I seriously am not cycling the threads like your comment suggests. I actually have proof that the threads are…
- 0.9.18 released0
The Lazarus team is glad to announce the 0.9.18 release. This release is based on fpc 2.0.4. This release can be downloaded from the sourceforge download page:…
- Threading support under FPC2
How good is the threading support in Free Pascal? I'm using 2.1.1. I haven't used threading before under FPC and am about to revamp an in-house application to support…
- THashedStringList vs TFPHashTable7
Is TFPHashTable the same as Delphi's THashedStringList? I am looking for a List class that can hold large amounts of objects with a ID string associated for quick…
- fpdoc xml files with special characters2
How is fpdoc's xml files supposed to handle special characters? For example, I tried to type the '&' character, and fpdoc complained. I then escaped the ampersand with…
- TDatabase Docs?0
Does anyone know where I can read about the TDatabase classes? I know I can look in the source, but I was hoping for an API ref or something. Jeremy
- TDatabase, PostgreSQL and Mac OS X?4
I have the following simple program that does not seem to be working. Connectivity using postgres unit works fine. Here's the error and then the program will follow.…
- fpdoc with UML output1
I got a request from a developer in the tiOPF News Groups regarding fpDoc. I showed them some output of fpdoc against the tiOPF source code. One of the requests was…
- TStringList Bug?3
Below is a simple program that I *think* is working wrong. I am new to Pascal, so I may very well be doing something wrong. Can anyone comment? Jeremy…
- Sparc/Linux Port0
For those that may on the off chance be downloading the Sparc Linux port of FPC, I apologize for not having posted any binary updates to my download site lately. I am…
- zstream.pp strange dependency?1
I have encountered a strange phenomenon, and I would like to fix it, if it weren't for the fact that I have no idea why it appears. So what happened? When using the…
- Linux-Sparc Port of FPC 2.0.44
Good afternoon all! Just signed up for the list to let everyone know that I have built version 2.0.4 of FPC for the Sparc-Linux platform. If anyone would be interested…
- Sparc Build1
Greetings all! When building the Sparc Linux port of 2.1.1 from the current (as of this email) SVN code, I get the following messages: /home/robert/fpc/compiler/ppc1…
- Win32 Build Errors8
Greetings. When running 'make zipinstall' under Win32, the process ends with the following error: cp.exe: cannot remove old link to…
- generated assembler3
I am looking at some shootout benchmarks and I have the following question. Look at the following program: program loop; {$mode objfpc} var d: array[0..$FFF] of double;…
- FPC 2.0.4 for classic Mac OS is now also out!1
Hello! Free Pascal 2.0.4 is now also available for classic Mac OS. http://www.freepascal.org/download.html Regards Olle Raab
- variant part of a record23
Do I get it right, that a construction like record Something: byte; case Something of 1: (x,y: word); 2: (z: longword); end; Is impossible in FPC?
- String passing parameters DLL-DLL0
I've come back to the list still looking for some advice on the best approach to handling strings as parameters being passed byRef out and back into an FPC DLL, talking…
- Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks2
First of all, I just had an altercation with my outlook - so I I'm a bit disorganized now - ugh - But I wanted to thank Mark who suggested the Linux fpNanoSecond…
- Stupid doubt with Lazarus1
Sorry by the question but I'm not able to use on my forms the DataSources puted on the DataModule. I put the DataModule file on the uses clausule (like I make on Delphi)…
- is www.freepascal.org out?3
Hi all, is the domain www.freepascal.org out? []s Fabrício
- TThreads - COOL!!!0
Hey - pardon my gloating in complete utter satisfaction - but I AM now the happy owner of an Excellent working server cross "multiplexer and multi-threading" by using…
- macros with parameters3
the docs only show examples of macros without any parameters. Is it possible to use them? Can I make this work anyhow: {$MACRO ON} {$define HOFFSET(rec,field) :=…
- macros with more than one parameter0
how is the correct syntax for macros having more than one parameter? {$define HOFFSET(rec,field):=(pointer(@(rec).(field)) - pointer(@(rec)))} This does not work, even…
- Sparc Linux Port of 2.1.10
The Sparc Linux build of 2.1.1 from the current SVN is available at: http://www.net261.com:85/pages/robert/software/fpc/ Robert Wolfe ( / ) Computer Programmer/Analyst &…
- RE: Linux Questions5
In answer to your second question, the simplest way I can think of doing this is to use something similar to the following: procedure format {M$ 2000,0, 0} uses dos; var…
- gas Assembler6
Hi all! Trying to build the latest FPC 2.1.x source tree for the Sparc Linux platform. However, I ma getting a message saying that the gas assembler cannot be found. …
- memory leak detection using FPC10
How do you do memory leak detection using FPC? I know about the -gh parameter, but don't know how to use it, or with what other tools. I develop under Linux on x86. -…
- Finding the cursor in the IDE1
I often have problems finding the cursor in the IDE. In insert-mode it is just a slowly blinking underscore in the same colour as the rest. Can I modify the appearance…
- writing xml to output crashes0
The following program crashes if compiled with fpc 2.0.4. It works correctly if fpc 2.1.1 is used. Should I create a bug report or is the 2.0.x series not maintained…
- offsetof()-macro in pascal0
I'd like to know if there is something similar to this: <stddef.h> #define offsetof(type, member) __offsetof(type, member) </sdtdef.h> <ansi.h> #define __offsetof(type,…
- SOAP0
How can I use SOAP in FPC to consume a WebService? I found the WebService ToolKit, from Inoussa OUEDRAOGO, but it is for Lazarus…
- Re: Please Help - Need ONE HINT - Trying to get2
Yes. Sleep has been added where appropriate. I didn't know to try Sleep ZERO. That sounds better than my Sleep(10). Thank You for that suggestion. I was trying to avoid…
- 204 Compiler7
I have downloaded the 204 source code and compiled a cross compiler to Arm to run on a Windows PC When compiling some code that has worked with the 202 compiler I get…
- problem freeing strings0
when running a program that is working it SIGSEGVs at the finalization: <--- snip ---> (gdb) r Starting program: /usr/home/marc/tmp/test/./h5_attribute ping The value of…
- multidimensional dynarrays SetLenght and memory layout2
since I managed to get static arrays handed over to a C library I want to know if this is possible for dynamic arrays too. I browsed the docs and source but I'm not able…
- Updating to 2.0.4 bugreport1
the update on 2.0.4 shows some bugs: var dirstr:string getdir(0,dirstr); // <- not works (on linux), the result is a string with length 0 The Compiler switch "Use…
- FPC Compiler Internal Error: 200410231 (To Whom it may Concern)0
u01g_jcore.pp(14304,3) Fatal: Internal error 200410231 u01g_jcore.pp(14304,3) Fatal: Compilation aborted The following Construct caused an Error I haven't seen before…
- Updating to 2.0.4 bugreport (3)0
var dirstr:string getdir(0,dirstr); the error has also to do with the other described problem Rainer
- Updating to 2.0.4 bugreport (2)0
var dirstr:string getdir(0,dirstr); // <- not works (on linux) dstr is something like'/ ' Rainer
- Please Help - Need ONE HINT - Trying to get something like sched_yield with free pascal in linux1
Hi all - and thanks to who ever can respond in advance. I have a Server Like App - I need the equivalent of sched_yield I looked in oldlinux unit, and tried the…
- fpdoc's generated inheritance output is incorrect0
I thought the order in which I specify the input files are not important, but clearly it seems to be. This can be seen in the inheritance part of the html output. Is…
- fpdoc automation help2
I am trying to setup some script(s) or a Makefile (if I can) to handle the documentation of tiOPF (open source project I work on and core of our projects). * How does…
- memory layout of arrays5
when using arrays in C the layout of arrays is sort of flat, since pointer arithmetics for accessing values works (e.g. "pointer += 4" for 32 bit values). Is this the…
- Book....8
Hello. I just downloaded you Free Pascal software. I haven't programmed in PASCAL for about 12 years. I am looking for a book or e-book that will teach me how to use the…
- NULL pointer to array of integer12
while fiddling with some C'isms I've stumbled over a function in a library expecting an array of integers *or* a NULL pointer. How can I hand over any NIL or 0 or…
