Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2012-02

  1. xterm -e program-compiled-with-fpc2.4.0 doesn't work

    With the advent of Debian6 fpc 2.4.0-2 has become the only available version. Before that, it may have been 1.0 ? A simple program of mine compiled in 2008 with the old…

    max, Bernd, Jonas Maebe
    12
  2. How create a full text search with TChmWriter?

    I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it…

    Mattias Gaertner, Andrew Haines, Felipe Monteiro de Carvalho
    23
  3. OT: Amazing new development tools

    I found the following amazing lecture that present a new idea of a development tool, that I think will interest you all: http://vimeo.com/36579366 Enjoy Ido

    ik, Graeme Geldenhuys, Jonas Maebe
    19
  4. Weird compilation warnings

    FPC is returning the "Warning: cdecl’ared functions have no high parameter" but I have no idea why. The documentation just says "Functions declared with the cdecl…

    Guillermo Martínez Jiménez, Sven Barth
    2
  5. Where and how is the FPC documentation created?

    A few months ago I inquired and got some info about FPC docs - discussed in this thread http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-November/068595.html,…

    Frank Church, Graeme Geldenhuys, Michael Van Canneyt
    25
  6. What is the most widely used Pascal on Linux and other Unix variants?

    What is the most widely used Pascal on Linux and other Unix variants? Is it Free Pascal? Frank Church ======================= http://devblog.brahmancreations.com

    Frank Church, Alberto Narduzzi, Graeme Geldenhuys
    24
  7. Any way to find all descendants of a class?

    In Delphi I can use the new extended RTTI support to build a list of all TForm descendants in my application (TRttiContext.GetTypes). Is there any way to do the same…

    Craig Peterson, Sven Barth
    1
  8. Class const of array of record.

    I was trying to make this construction: type TRec = record Numero: Integer; Nome: String; end; function mTRec(Numero: Integer; Nome: String): TRec; type TTest = class…

    Everton Vieira, Jonas Maebe, kyan
    14
  9. Linking message "...did you forget -T?"

    I've been meaning to ask this question since many months ago. Why do I get that "..... did you forget -T?" whenever I compile any project. It never used to be there…

    Graeme Geldenhuys, Marco van de Voort, Mark Morgan Lloyd
    5
  10. FPC with case insensitive file system under Linux

    [rant] I'm just sick of the idiocy of Linux/Unix with there case sensitive file systems! Google'ing a round for the reason for this, it seems that in the 60's, it was C…

    Graeme Geldenhuys, Alberto Narduzzi, Henry Vermaak
    27
  11. fpweb and security

    I'm thinking now to use fpweb for a web application I need to build, but the application is going to be over the internet, and I'm interesting in knowing about few…

    ik, Lars, Unknown author
    2
  12. Data persistance in CGI projects

    For desktop environments, there are mature projects on data persistance. Press Objects, TiOPF... desktop developers can be proud of the tools they have. What about CGI…

    Luciano de Souza, Graeme Geldenhuys, Jorge Aldo G. de F. Junior
    6
  13. does the following translation of a c struct to FPC is correct ?

    I translated the following struct struct iphdr { #if defined(__LITTLE_ENDIAN_BITFIELD) version:4; #elif defined (__BIG_ENDIAN_BITFIELD) ihl:4; #else #error "Please fix…

    ik, Jonas Maebe
    5
  14. dynamic array as a part of dynamically allocated records behavior

    Consider the following program: {$mode objfpc} type TJam = array of Integer; TRuang = record nm_ruang: string; avl: TJam; end; PRuang = ^TRuang; var x: array of integer;…

    leledumbo, Jonas Maebe, Mattias Gaertner
    3
  15. (no subject)

    Is there any plans to implement public procedures/function of a class that can be used without been necessary to create the class? Everton Vieira.

    Everton Vieira, Felipe Monteiro de Carvalho, Howard Page-Clark
    8
  16. dbus in Pascal

    I haven't touched in dbus in ages, so I was wondering how people are using it. Did anyone write a wrapper around libdbus for Lazarus or is everyone using directly…

    Felipe Monteiro de Carvalho, Jorge Aldo G. de F. Junior, Michael Van Canneyt
    4
  17. fpdoc slow on Linux x64... tweaking?

    Running fpcup on Linux x86, Linux x64 with FPC fixes_2_6 Building LCL chm docs with build_lcl_docs, which calls fpdoc: On x86, seems to works ok. On x64, takes a long…

    Reinier Olislagers, Graeme Geldenhuys
    3
  18. Int64 multiplication error

    Hello I have a problem with int64 multiplication: program tstint64; {$MODE objfpc} {$H+} uses SysUtils; var i: integer; y: int64; begin y := 1; for i := 1 to 10 do begin…

    Bogdan
    0
  19. level curve and surface generation code

    I was wondering if anyone has seen Pascal code around for these two tasks 1> generate level curves from an array of 3D points 2> Generate a 3D surface from an array of…

    Felipe Monteiro de Carvalho, Jorge Aldo G. de F. Junior, leledumbo
    3
  20. Outputting a set for debugging

    What type can I cast a set (actually Lazarus's TShiftState) to, in order to be compatible with IntToHex() for debugging output? Or is there some other preferred…

    Mark Morgan Lloyd, Mattias Gaertner
    2
  21. Logging full runtime-error/exception backtrace

    I want to log the full runtime-error/exception backtrace to a file. I've tried all methods explained http://wiki.lazarus.freepascal.org/Logging_exceptions here but none…

    leledumbo, Everton Vieira, Martin
    21
  22. Reactor Pattern for Pascal ?

    I'm looking for an open source based implementation (but not limiting for commercial usage) of Reactor Pattern (http://en.wikipedia.org/wiki/Reactor_pattern) to have…

    ik
    0
  23. Easy way to install FPC 2.6.x on Mint Linux?

    I am lazy and want to find the easiest way to install FPC 2.6.x on Mint Linux, which is compatible with Ubuntu. Has anyone made a repository which can be used with…

    Juha Manninen, Henry Vermaak, Ludo Brands
    11
  24. AsyncCalls no longer works with Free Pascal?

    I just wanted to try AsyncCalls and downloaded the most recent version 2.99. But when compiling a project that uses it I get an error 'Your compiler version is not…

    Jürgen Hestermann
    0
  25. Test

    Please, ignore.

    Florian Klämpfl
    0
  26. FPCUp FPC/Lazarus installer/updater: first Linux/Windows version released

    With the help of the people on the forums and the lists, I've completed the first version of FPCup, a tool that downloads FPC and Lazarus sources from SVN, compiles and…

    Reinier Olislagers, Ludo Brands, Marco van de Voort
    31
  27. Exception withing exception handling

    I am in the process or writing a interpreter for a specific task (not turing complete, just something to make easier to express something to the computer) and for the…

    Jorge Aldo G. de F. Junior, Chad Berchek, Sven Barth
    3
  28. TMSSQLConnection - sqlDB component for accessing MS SQL Server

    As you can see here http://bugs.freepascal.org/view.php?id=17303 the developer known to LacaK developed a new connector for MSSQLServer, descendant of TSQLConnection…

    Marcos Douglas
    0
  29. fphttpclient get an url with colon

    When I use TFPHTTPClient to fetch a page with a colon in the file name it appends a slash "/". For example: Client:=TFPHTTPClient.Create(nil);…

    Mattias Gaertner, Alberto Narduzzi, Michael Van Canneyt
    9
  30. benchmarking functions

    What is the best way measure execution time of functions ? Ido

    ik, Graeme Geldenhuys, Henry Vermaak
    4
  31. looking for binary of 2.2.0

    Is there a binary of 2.2.0 for i386 Linux still available anywhere? I'm having difficulty compiling it from source (possible problem in 2.2.4) and need it to investigate…

    Mark Morgan Lloyd, Carsten Bager, Jonas Maebe
    6
  32. make clean / distclean leaves some ppu files

    It seems make clean leaves ppu files behind: For example: ./packages/fpmkunit/units_bs/x86_64-linux/zbase.ppu Mattias

    Mattias Gaertner
    0
  33. TLinkedList

    If my memory is not misleading me, there was once a TLinkedList class under Classes unit, but I can't find any documentation on it. I found an include file that contains…

    ik, Carver413, Jorge Aldo G. de F. Junior
    28
  34. Generics Compile Error, 2.4.2 vs 2.6.0

    Under FPC 2.4.2 I have been using RBTree unit that uses generics. With 2.6.0 it fails to compile. I know that there have been changes for 2.6.0 but I have checked the…

    David Copeland, J.-c. Chu
    2
  35. fpdoc and tab characters

    How are tab characters handled by fpdoc and its output formats? Mattias

    Mattias Gaertner, Michael Van Canneyt
    1
  36. Adding Notes in FPDoc

    Seeing the discussions about annotating the documentation created by FPDoc, I added support for notes. (revision 20304) In short: At the level of the <module>, <topic>…

    Michael Van Canneyt, Graeme Geldenhuys, Reinier Olislagers
    3
  37. Working Free Pascal android JNI example

    I've done a working Free Pascal android JNI example (with working .apk for current ARM-based Android device of the second device generation (because with VFPv3, so…

    Benjamin Jan Alexander Rosseaux, Felipe Monteiro de Carvalho, Florian Klämpfl
    42
  38. TSqlite3Dataset and Attach Database

    Can anyone tell me if it is possible to attach another database file to a TSQlite3Dataset before opening a query. I've tried using 'ATTACH "<filename>" AS dataDB;' as…

    Malcolm Poole
    1
  39. Problems with moving/renaming file using sysutils.renamefile

    Free Pascal Compiler version 2.6.0-1 [2012/01/13] for i386 Linux x86 Trying to move a file (and rename it at the same time): //ExtractedCompiler is a string variable…

    Reinier Olislagers, Jonas Maebe, Marco van de Voort
    9
  40. AIX

    Hi, can freepascal compile programs for AIX PowerPc? I see hints of AIX when I search google but nothing that directly says it will work. Thanks Andrew

    Andrew Haines, Sven Barth
    1
  41. fpc 2.6.0-rc1 for arm-embedded

    I had some problems making or using a compiler for arm-embedded so I tried the new 2.6.0-rc1. Compiling with : make clean buildbase installbase CROSSINSTALL=1…

    Koenraad Lelong, Den Jean, Graeme Geldenhuys
    25
  42. [admin] problems with mail delivery?

    I've received mails from two people the last couple of weeks that not all messages they sent (from subscribed addresses) went through to the FPC mailing lists. In order…

    Jonas Maebe
    0
  43. Pass array of record as parameter

    TInfo=record s: string; i: integer; end; function func1(a: array of TInfo); how can i pass the parameter to that function? for example, i cant do that? func1([('test1',…

    Zaher Dirkey, Everton Vieira, Howard Page-Clark
    19
  44. tzipper issue(zipper.pp)

    I am trying to port a Delphi app to Freepascal/Lazarus. The original app zipped the contents of a memo(using vclzip) which was saved to a stream, and the zip does not…

    Tony Caduto, Malcolm Poole
    1
  45. Code works on Linux x64 but not on Linux x86

    I have the following code, adapted from pasbzip.pas (bzip2 example) uses ...bzip2.. const BufferSize = 4096; var infile, outfile: Tbufstream; decoder:…

    Reinier Olislagers, Sven Barth
    6
  46. FPCDocs: diff: saving fpdoc gives huge diff

    fpdocs Revision 889 svn revert --recursive . Open FPDocEditor on ExpandFileName, type a space somewhere, click Save icon. (Space seems to be automatically removed) This…

    Reinier Olislagers, Graeme Geldenhuys, Mattias Gaertner
    12
  47. What ARM targets are supported by FPC?

    I'm pretty out of the loop when it comes to embedded or small form factor devices. There seems to be so many different embedded processors and multiple versions of ARM…

    Graeme Geldenhuys, Bernd, Felipe Monteiro de Carvalho
    11
  48. TFPHTTPClient Post works with jetty, fails with tomcat

    For some reason TFPHTTPClient.Post hangs when accessing a "solr" server over "tomcat". It works with "solr" over "jetty". "curl" works fine with both, so I guess the…

    Mattias Gaertner, Michael Van Canneyt, Rainer Stratmann
    9
  49. Dynamic array and dimensions

    I need to rewrite the way I split data today, after I found out that the specs and the reality of the content are different things. At the moment I'm using a dynamic…

    ik
    1
  50. How to ? Using two compiler versions.

    I'm searching for some document how to set up a system to use two versions of fpc. I'm trying to make a working arm-embedded compiler. With 2.6.0 I seem unable to do…

    Koenraad Lelong, Henry Vermaak, Rainer Stratmann
    5