fpc-pascal · 2007-10
- FPC and Mac OS X 10.521
Now that Mac OS X 10.5 has been (more or less) released, some notes on issues you may encounter when using FPC 2.2.0 (or earlier) on that new Mac OS X release. All…
- gprof6
It seems the gprof option -pg is still there, but it does not work. What are the plans for this feature? What else can be used as profiler for fpc? Mattias
- Serial port interrupts?2
Hello people. To make a debugging tool, I need to time changes on the serial port control and status lines on a Linux machine. The serial port hardware has this…
- fast text processing58
I had never used Perl before. Until someone showed me Perl is very fast for text processing (using its powerful regex), despite it's an interpreted language. It even…
- When Pascal code is too fast6
I have a weird problem. the "fpWrite" is too "slow" for FPC code. When I have the same exact code in C that writes a big amount of buffers of the same size with the same…
- Speed22
Now i write program, that program made extensive calculations. And i want write fast code. Question about executing speed: first code- function Calculate1: Extended;…
- Re: Why this evaluates on "if" wrong ?42
Op Sun, 28 Oct 2007, schreef Milan Marusinec: If you do on a hand calculator: 1/3 ... you will see: 0.33333333333 If you multiply again with 3, you will see:…
- Arrays of objects12
I'm seeking for advice about which is the best way to hold an array of class instances I need to access the elements using its position (like a regular array) , and also…
- Installing FPC on CentOS 5 x645
I was trying to install fpc 2.2.0 on a CentOS 5 x64 machine using rpm package, but libtinfo.so.5 is required. My system doesn`t have this lib and I didn`t find anything…
- no_dead_strip not recognized by OS X 10.3 assembler6
I am now trying the latest Lazarus snapshots on OS X 10.3 on a powerpc Mac. The application compiles 99% fine but at the end it fails with the following errors (from the…
- FPC and JAVA29
Hello, I would like to ask whether is it possible to write program as usual then compile it but result wouldn't be a standard binary but a .jar file usable on mobile…
- Compiling / Make problems, latest SVN5
I am trying to compile the latest FPC 2.3 SVN on OS X i386 with CPU_TARGET=powerpc. The crosscompiling guide on the freepascal web site says to do a: make cycle But…
- Librería para videojuegos Allegro.pas0
Hola gente. Además de congratularme por la existencia de esta lista de correos, os escribo para daros a conocer este proyecto en el que llevo metido desde hace ya un…
- Dynamic linking variables6
I'm binding FAM/GAM to Pascal, and I do it in two flavors: static and dynamic linking (depending on the define). I found out that I require to link two variables with…
- Esta disponible la lista de correos en español / Spanish mailing list available0
Hola a todos. De parte del equipo de desarrollo de Lazarus, se anuncia la disponibilidad de la lista de correos en Español. Para acceder a dicha lista, favor de…
- Has someone succeded to make an apache 2.2 module on linux (x86) ?2
Using Ubuntu 7.04, Apache 2.2.3, fpc 2.3.1 r8922 In the request handler ( content generator handler ) I got some weird data in r^.handler. It does work on windows XP.…
- PasWiki for download?7
Any ideas when (or if) PasWiki will be released to the public? I know about the Simple CMS downloads, but don't feel the urge to rewrite it into a full fledged wiki…
- File monitoring2
I was wondering if there is an existed file monitor unit/library etc.. for Linux ? I'm looking for such daemon/unit/library/code that will be able to do as follows: 1.…
- Run process and exit (win32)7
Hi, I'm trying to start a Win32 process and exit leaving the process executing. The test scenario is a CGI calling a simple Http server (the Synapse Http server demo).…
- MPICH2 on FPC1
I would like to use the MPICH2 on Lazarus or FPC, and as far as I see on the net there is the H2Pas tool on Lazarus that does a binding from the headers file of the…
- The SetLength procedure (which sets the size of dynamic arrays)0
I have found out about the SetLength procedure in the "Free Pascal : chapter 3.3.1 Arrays . But I am unable to find the complete description of this function. What unit…
- Compiling FPC 2.3 with FPC 2.2 (Mac OS i386)3
I have installed FPC 2.2 from the Lazarus snapshots. Now I am trying to compile the latest FPC sources from SVN. A few weeks ago, this worked but now I get:…
- RTL events1
Hi! I'm studing RTL Events and TEvent class under Unix. RTL Event don't keep the state of event after an RTLEventWaitFor or RTLEventWaitForTimeout (after this the event…
- Trouble converting to pascal sample examples of cairo2
I'm converting the cairo samples (http://cairographics.org/samples/ http://cvs.cairographics.org/cairo-demo/cairo_snippets/) to pascal. I'm getting a runtime error 207…
- random "Disk Full" exceptions6
when running a program interacting with a c library accessing the disc drive and writing some informational strings to "stderr" there are thrown An unhandled exception…
- N00b: Where is TRect?4
sorry for another newbie question: I am trying to find TRect, but fpc can not find any of the Units GraphTypes, Graphics or Controls, which I found listed…
- Keyboard unit under Linux3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am having a tough time using the keyboard unit under Linux. Please tell me whats wrong with this code: ( var section cut…
- The Interface to MySQL has changed on version by version2
Hi all. This is my test program to track interface changes in mysql lib. program MySQLku; uses mysql50; //Before is mysql4 const DataBase : Pchar = 'dbtes'; Query :…
- class declaration questions7
the reference manual is not explicitly clear in describing class declarations. Is it true for classes as for objects that the first block of components after the class…
- fpwrite buffers issues4
I'm trying to use fpwrite (from UnixBase). It seems that on my first use it will wrtie the full content of the buffer, however on the second write of the buffer, it will…
- Specifying a Interface type via $Interfaces7
I want to start learning the use of Interfaces. It's a language feature I have by-passing for some time now. From what I have read this seems to be a handy language…
- Fwd: wingraph extended library for pascal0
From: edexter Newsgroups: comp.lang.pascal.misc Subject: wingraph extended library for pascal Date: Thu, 11 Oct 2007 04:58:41 -0700 NNTP-Posting-Date: Thu, 11 Oct 2007…
- Calling a function by name (as string) read from a text file19
I have this program: program mainfun; {$mode objfpc} uses SysUtils; type SetupFun = function(const vect: array of double): double; MyRec = record x: array of double;…
- 1
- Re:The Interface to MySQL has changed on version by version Andi Purwito2
Instead of using 'TMYSQL_ROW' try 'MYSQL_ROW' (omit the T). That way, you can compile the code with both versions of Mysql since the old units have the type definitions…
- Compiling FPC 2.2 on Mac OS X / i3861
I would like to compile FPC. Do I need a special make tool? When I type make all, I get many error messages, apparently because the make tool from Apple is not the right…
- Re: The Interface to MySQL has changed on version2
almost every release. So its mean that mysql is difficult to followed? if yes, is there any other way to access mysql like odbc maybe? ---------------------------------…
- Looking for fpc developer0
In my spare time I'm developing a framework for developing business applications: data-model, application server, business objects. It should be released as open source…
- fpdoc - Invalid paragraph content0
What is wrong with this description?? The issue seems to be with the unordered list after the 'Example:' line as it doesn't appear in the generated HTML. This is the…
- WideUpperCase on Mac OS X / Intel -> Runtime error 2151
apparently the WideUpperCase function does not work, what can I do? I get a runtime error 215 when I call it. I am using fpc-2.2.0 with Lazarus. Tobias Giesen
- IDE fonts and codepage4
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I followed the suggestion made sometime ago about loading cp850-8x16 font to get the line drawing characters when in the…
- function alias8
How can I create an alias for a function? For example: procedure DoSomething(...params...); cdecl; external 'useful'; const DoAliasSomething = DoSomething; fpc does not…
- How to turn on case sensitive identifiers in FPC?1
Hi. Pascal is case insensitive language. I know it. But I've just adopting some foreign code which is full off identifierswithoutcapitalletters and I consider the…
- serial ports under Unix using Freepascal5
Hi! I'm creating a component that handles serial port in windows/unix. Under Windows I include in uses the unit windows, that open, close, read, write, test if the…
- Has anyone ported fpc-pascal to Solaris ?2
I wanted to create a package for Solaris users and wondered if anyone had made the attempt. - Dennis Clarke
- AOP0
I'm trying to help someone to use RTTI in order to make AOP (Aspect-oriented programming). Does someone know any good implementation of such tool that can work both on…
- threads, fpfork and bug #98360
I'm posting here since I cannot add a comment to bug #9836 (probably because it's closed?) I'm puzzled because a) I could find examples of unix daemons, the parent…
- list classes or arrays in FPC5
Anybody know what list classes or arrays are available in FPC? I know the standard TObjectList and TStringList, but I'm pretty sure there must be more 'not so well…
- Cross-platform single instance4
I was looking into a way to detect if an instance of my application is running. Is there a cross-platform solution on rtl or fcl? It seams that semaphores would be a…
- Turbo Pascal Mode Bug?6
I have a peace of code that demonstrates that in the TP mode of freepascal, one can use a function as a procedure. Is this a bug or a normal behavior? My University have…
