Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2007-10

  1. FPC and Mac OS X 10.5

    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…

    Jonas Maebe, Mattias Gaertner, Mattias Gärtner
    21
  2. gprof

    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

    Mattias Gaertner, Graeme Geldenhuys, Jonas Maebe
    6
  3. Serial port interrupts?

    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…

    John Coppens, Tom Walsh, Unknown author
    2
  4. fast text processing

    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…

    Bee, Daniël Mantione, Flávio Etrusco
    58
  5. When Pascal code is too fast

    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…

    ik, Marc Santhoff, Marco van de Voort
    6
  6. Speed

    Now i write program, that program made extensive calculations. And i want write fast code. Question about executing speed: first code- function Calculate1: Extended;…

    Valdas Jankūnas, bartek, Daniël Mantione
    22
  7. Re: Why this evaluates on "if" wrong ?

    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:…

    Daniël Mantione, Adriaan van Os, Andrea Mauri
    42
  8. Arrays of objects

    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…

    Adrian Maier, Joao Morais, Lourival Mendes
    12
  9. Installing FPC on CentOS 5 x64

    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…

    Paulo Estrela, Coco Pascal, Florian Klaempfl
    5
  10. no_dead_strip not recognized by OS X 10.3 assembler

    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…

    Tobias Giesen, Jonas Maebe, Mattias Gaertner
    6
  11. FPC and JAVA

    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…

    Pianoman, Daniël Mantione, Felipe Monteiro de Carvalho
    29
  12. Compiling / Make problems, latest SVN

    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…

    Tobias Giesen, Jonas Maebe, Vincent Snijders
    5
  13. Librería para videojuegos Allegro.pas

    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…

    Guillermo Martínez Jiménez
    0
  14. Dynamic linking variables

    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…

    ik, Henry Vermaak, L
    6
  15. Esta disponible la lista de correos en español / Spanish mailing list available

    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…

    Jesus Reyes
    0
  16. Has someone succeded to make an apache 2.2 module on linux (x86) ?

    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.…

    Inoussa OUEDRAOGO, Michael Van Canneyt
    2
  17. PasWiki for download?

    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…

    Graeme Geldenhuys, Florian Klaempfl, L
    7
  18. File monitoring

    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.…

    ik, Krishna
    2
  19. Run process and exit (win32)

    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).…

    Leonardo M. Ram�, ik, L
    7
  20. MPICH2 on FPC

    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…

    Lourival Mendes, Daniël Mantione
    1
  21. The SetLength procedure (which sets the size of dynamic arrays)

    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…

    Adrian Maier
    0
  22. Compiling FPC 2.3 with FPC 2.2 (Mac OS i386)

    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:…

    Tobias Giesen, Florian Klaempfl, Marco van de Voort
    3
  23. RTL events

    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…

    Unknown author, Vinzent Hoefler
    1
  24. Trouble converting to pascal sample examples of cairo

    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…

    Luiz Americo Pereira Camara, F x L, Marco van de Voort
    2
  25. random "Disk Full" exceptions

    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…

    Marc Santhoff, Jonas Maebe, Micha Nelissen
    6
  26. N00b: Where is TRect?

    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…

    Alexander von Below, Graeme Geldenhuys, Jonas Maebe
    4
  27. Keyboard unit under Linux

    -----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…

    Frank McCormick, Michalis Kamburelis
    3
  28. The Interface to MySQL has changed on version by version

    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 :…

    Andi Purwito, Chris Kirkpatrick, Michael Van Canneyt
    2
  29. class declaration questions

    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…

    Marc Santhoff, Felipe Monteiro de Carvalho, Joao Morais
    7
  30. fpwrite buffers issues

    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…

    ik, Vincent Snijders
    4
  31. Specifying a Interface type via $Interfaces

    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…

    Graeme Geldenhuys, Cesar Romero, Dean Zobec
    7
  32. Fwd: wingraph extended library for pascal

    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…

    Jonas Maebe
    0
  33. Calling a function by name (as string) read from a text file

    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;…

    Jilani Khaldi, Adrian Veith, Daniël Mantione
    19
  34. PThreads

    Andreas Berger, Marco van de Voort
    1
  35. Re:The Interface to MySQL has changed on version by version Andi Purwito

    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…

    L, Joost van der Sluis, Michael Van Canneyt
    2
  36. Compiling FPC 2.2 on Mac OS X / i386

    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…

    Tobias Giesen, Jonas Maebe
    1
  37. Re: The Interface to MySQL has changed on version

    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? ---------------------------------…

    Andi Purwito, Joost van der Sluis, Michael Van Canneyt
    2
  38. Looking for fpc developer

    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…

    constantijnw
    0
  39. fpdoc - Invalid paragraph content

    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…

    Graeme Geldenhuys
    0
  40. WideUpperCase on Mac OS X / Intel -> Runtime error 215

    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

    Tobias Giesen, Jonas Maebe
    1
  41. IDE fonts and codepage

    -----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…

    Frank McCormick, Daniël Mantione
    4
  42. function alias

    How can I create an alias for a function? For example: procedure DoSomething(...params...); cdecl; external 'useful'; const DoAliasSomething = DoSomething; fpc does not…

    Mattias Gaertner, Daniël Mantione, ik
    8
  43. How to turn on case sensitive identifiers in FPC?

    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…

    Dusan Halicky, Marco van de Voort
    1
  44. serial ports under Unix using Freepascal

    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…

    Unknown author, josepascual, Luca Olivetti
    5
  45. Has anyone ported fpc-pascal to Solaris ?

    I wanted to create a package for Solaris users and wondered if anyone had made the attempt. - Dennis Clarke

    Dennis Clarke, Jonas Maebe, Michael Van Canneyt
    2
  46. AOP

    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…

    ik
    0
  47. threads, fpfork and bug #9836

    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…

    Luca Olivetti
    0
  48. list classes or arrays in FPC

    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…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Hans Mårtensson
    5
  49. Cross-platform single instance

    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…

    Felipe Monteiro de Carvalho, Luiz Americo Pereira Camara, Vincent Snijders
    4
  50. Turbo Pascal Mode Bug?

    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…

    Zaka E-Lab, Daniël Mantione, Felipe Monteiro de Carvalho
    6