Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2006-05

  1. a suggestion...

    Is there any particular reason for not compressing the release tarballs (Linux f.e) with say bzip2 or even 7zip? The uncompressed tarball weighs in around 24M and I'm…

    Krishna, Adrian Maier, Eduardo
    23
  2. [Fwd: Re: spin_lock]

    (Burkhard: my mistake. Sorry ) thank you for your message. I find it VERY usefull! I have many questions: 1-- Keep in mind that I need the processor for a period of 100…

    Alain Michaud, Burkhard Carstens
    1
  3. spin_lock

    would someone know how to execute: spin_lock spin_lock_init and spin_unlock I just want to disable the interrupts for 200 miliseconds maximum! This is not too long and…

    Alain Michaud, Burkhard Carstens, Felipe Monteiro de Carvalho
    11
  4. writeln in fpc 2.0.2

    I use Lazarus. So, I've upgraded fpc from 1.0.10 to 2.0.2 . I've recompiled my cgi apps, and now something is wrong: lines with more than 80 char writed with writeln…

    Gustavo Enrique Jimenez, Marco van de Voort, Michael Van Canneyt
    5
  5. real to integer

    I am frustrated by a very simple problem. I am trying to convert real to integer, using free pascal for mac. I am an old Think Pascal user who just recently found free…

    Thomas Miller, Jonas Maebe, Tony Pelton
    12
  6. porting fpIoctl() to windows

    on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In my porting efforts to win32 I have found the more generic FileOpen, but no equivalent of fpIoctl…

    Marc Santhoff, Alain Michaud, Burkhard Carstens
    6
  7. fpc for ARM on FreeBSD

    since I know fpc has a code generator for ARM CPUs and is running on FreeBSD I'd like to know: What would be needed to make the compiled programm run on FreeBSD for ARM?…

    Marc Santhoff
    0
  8. rotating bits

    Is there high level operator/(inline)function for rotating bits? Am I supposed to implement rotating bits (like ror/rol in i386 asm) by inline assembler or some ugly…

    Пётр Косаревский, Bisma Jayadi, Florian Klaempfl
    37
  9. assigning ansistring with shortstring

    I'm lacking some memory concept here. Below program doesn't work unless setlengths are called first on the shortstrings. program Project1; {$mode objfpc}{$H+} var…

    L505, Arne Hanssen, DarekM
    9
  10. Trim repeated whitespace from a string

    Anybody know of a function that can remove (normalize) a string by remove all beginning and ending whitespace as well as replace all repeated spaces with a single space.…

    Graeme Geldenhuys, Cox, Stuart TRAN:EX
    5
  11. unit name with dots

    does fpc support unit names with more than one dot or is planned? in delphi 7 you can compile this: // unit main.dpr program main; uses test.sec; begin test.sec.doit;…

    mariano podesta, Florian Klaempfl, Graeme Geldenhuys
    9
  12. GNU/Linux sql tool

    Does anybody know of a decent (even a half decent one will do) sql tool for GNU/Linux that can connect to a Firebird database. By that I mean one that I can write and…

    Graeme Geldenhuys
    0
  13. mantis

    Mantis is now embedded in a freepascal page, the problem is that for those who use 800x600 screen resolution (like me in at least one place). The sidebars (left, top)…

    Jesus Reyes
    0
  14. C callable library

    Is FPC ready for writing libraries callable from C/C++ on Win32 and Linux? Krishna You think you know when you learn, are more sure when you can write, even more when you

    Krishna, Florian Klaempfl, L505
    2
  15. Fp-Doc. Question No.1

    I'm using Windows XP (HE) Lazarus 0.9.14 with FPC 2.0.2 After reading the recent threads in the Lazarus mailing list, I realized that I should study how Fp-Doc works.…

    Tiziano - Mekar Srl -, Marco van de Voort, Michael Van Canneyt
    5
  16. Fp-Doc. Question No.2

    I'm using Windows XP (HE) Lazarus 0.9.14 with FPC 2.0.2 Looking at the fp-doc documentation i read that I fp-doc can generate documentation for the following formats:…

    Tiziano - Mekar Srl -, Tomas Hajny
    1
  17. How to get rid of hint?

    I want to compute the offset/difference between two pointers. But I didn't found a way to do that without compiler hints. unit1.pas(42,6) Hint: Conversion between…

    Mattias Gaertner, Florian Klaempfl, Marco van de Voort
    9
  18. Typecasting by accident

    Just found a bug of mine I was wondering about since about three days, and wanted to share the fun with you: -- 8< -- // "How to raise the wrong exception" or // "Why…

    Vinzent Hoefler, Flávio Etrusco, Jonas Maebe
    8
  19. SSE3

    Hi, I am interested whether is planed implementation of SSE3 floating instruction in to FPC. I saw optimizations in gpc for p2 p3 how can I set FPC to optimize let's say…

    Pianoman, Florian Klaempfl
    1
  20. Synapse 37b4

    FYI: Has been published next Synapse snapshot 'synasnap 37b4' with lot of annonced changes for better FreePascal support. You can use Synapse for all unix based targets…

    Lukas Gebauer
    0
  21. [OT] fpc-gtk2 application on arm

    I think it's off-topic, but since I don't know where to look I take a chance asking here in the hope that some GTK-gurus can help me further. I'm making a gtk2…

    Koenraad Lelong
    0
  22. writing to dynamic array via formal parameter; what is the right way

    I use something like var a: array of byte; setlength(a,TheSize); blockwrite(afile,a[0],TheSize); Of course, if it is possible that TheSize=0, I have to write "if…

    Пётр Косаревский
    0
  23. Mantis now used as bug tracker

    FPC uses mantis now as bug tracker ( http://www.freepascal.org/mantis/set_project.php?project_id=6 ). Furthermore, lazarus and fpc share the same mantis installation so…

    Florian Klaempfl, Graeme Geldenhuys
    1
  24. AW: is planned next 2.0.x release?

    I would like to express my wish :-) for a new 2.0.x release too. We have also (minor) Problems (Dataset / Timestamp problems) with 2.0.2 and we would need a new "stable"…

    Helmut Hartl, fpc
    1
  25. is planned next 2.0.x release?

    is planned some next 2.0.x release? I am adopting my Synapse library for unix based targets, and I found lot of problems with current FPC version 2.0.2. (like lot of…

    Lukas Gebauer, Martin Schreiber, Michael Van Canneyt
    5
  26. ioctl

    I am trying to use the FpIOCtl in the BASEUNIX unit. Guess what? the only thing I get back is -1 ! Is there any example code available on how to talk to a kernel module?

    Alain Michaud, Vinzent Hoefler
    1
  27. make install (how to change distination?)

    when doing a 'make install' of a fresh fpc, how do change the destination directory? (Instead of c:\pp I would like, for exmaple, c:\lazarus\pp Also, will the fpc.cfg…

    Alexandre Leclerc, Vincent Snijders
    2
  28. Does FPC support garbage collection like Delphi for .NET?

    There are class TTestA and TTestB: type TTestB = class end; TTestA = class B: TTestB; constructor Create(BParam: TTestB); end; constructor TTestA.Create(BParam: TTestB);…

    Song Zhiwei, Florian Klaempfl
    1
  29. FPC Qt4 for Mac

    The small Qt4 binding for FPC now also works on Mac Os X. http://www.freepascal.org/wiki/index.php/Qt4_binding Everyone with a Mac, feel free to try and comment. The…

    Den Jean
    0
  30. FPC on NetBSD (i386)

    Unknown author
    0
  31. Free commander

    Does anyone have a copy of it? http://web.archive.org/web/20021122022650/http://fc.freepascal.org/

    L505, Andrew Haines
    2
  32. fpc network components

    I want to create a simple webserver, that runs locally on the user machine. It must run on MacOSX, Linux, Windows and FreeBSD. What is the state of the FPC network units?

    Mattias Gaertner, Lukas Gebauer, Marco van de Voort
    10
  33. FreePascal documentation in CHM-format

    FreePascal documentation (English) in CHM-format - http://stakanov.narod.ru/progs/fpcdocchm/ This page in Russian, for download press "Download CHM" or "Download ZIP" at…

    Aleksey Y. Ulasevich (STAKANOV
    0
  34. sort procedure of T(FP)List

    i wonder why the declaration of the comparing function of list objects is the way it is: TListSortCompare = function (Item1, Item2: Pointer): Integer; Since I am writing…

    Marc Santhoff, Geno Roupsky
    4
  35. string comparison on various platforms

    from digging the sources I know, that on Unix-like Systems the comparison of strings is done according to the current locale (Pascals "strcomp" is mapped to C-libs…

    Marc Santhoff, Geno Roupsky
    2
  36. Lazarus.

    I would like to hear from anyone using Lazarus/Free-Pascal on Debian GNU/Linux. Geoff.

    Geoff Bagley, Felipe Monteiro de Carvalho, Geno Roupsky
    4
  37. no output window displayed

    <http://www.ellman.com/mailimages/INTL2-linda.gif> Dear Sir: I download the Free Pascal Compiler Version 2.0.2, when I run it , no output window display, could you help…

    Linda Li, Geno Roupsky
    1
  38. [Offtopic] Sendmail problems

    I'm experiencing the same problem with my sendmail, like I've seen here. Some messeges are delivered a few month later. Does anybody have an idea what's wrong with it?…

    Antal
    0
  39. Constant object

    How can I declare a constant object? var MyTest: TObject; begin MyTest := TObject.Create; end. works (for sure). How can I declare 'const'? Thanks Michael

    Michael Müller, Geno Roupsky
    1
  40. aterm won't run fp

    Hi all Even though I don't have a solution to the previous problem, I already have another one. A while ago I tried 'fp' and didn't get anything. Not having time, I…

    John Coppens, Marco van de Voort, Micha Nelissen
    3
  41. eof strangeness

    Hi all. While modifying some older programs, I found a strange effect with eof (input). When calling eof(input), the program needs an <enter> key to continue. The…

    John Coppens, Bob Richards, Jonas Maebe
    4
  42. OO Delegation

    Any updates in Delegation status? Im porting a delphi app that uses delegation a lot, is the the dailly dev snapshot news about this? []s Cesar Romero

    Cesar Romero
    0
  43. const parameter writeable

    Are const parameters supposed to ensure read only access? If so how come one can write to a typed pointer? program project1; {$mode objfpc}{$H+} type PSomeRec =…

    L505, Jonas Maebe, Michael Müller
    9
  44. Problem with compile Gtk2 for version 2.6

    Hello, all I tried to compile gtk2 for arm linux. I download the package/extra/gtk2 source from svn server and I use the following command to compile it: make…

    smartkenny, Marco van de Voort
    1