Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. constructor as procvar

    I'd like to pass a constructor as a procvar. Don't know if this is possible. Here is some silly illustrative code that doesn't work: {$mode objfpc} uses classes,…

    David Emerson, Andrew Hall, Florian Klaempfl
    8
  2. When is AnsiString not a good substitute for string?

    I recently posted a question about problems involving the use of string and AnsiString when converting a Delphi program. Are the some situations where substituting…

    Frank Church, Jonas Maebe, Jorge Aldo G. de F. Junior
    4
  3. Strange WinCE Bug

    Who maintains the wince port and the arm port? Some users are experiencing a very wierd bug in wince-arm which happens in pure lcl app or kol app + lnet (no idea what…

    Felipe Monteiro de Carvalho, Bernd Mueller, Graeme Geldenhuys
    5
  4. Fwd: [ANNOUNCEMENT] GDB 7.1 released!

    Begin forwarded message:

    Jonas Maebe, Graeme Geldenhuys
    2
  5. New wiki, ftp and mailing list server planned

    As you might have noticed, the server running the wiki (lazarus and fpc), the mailing lists (lazarus and fpc) and being ftp master (fpc and lazarus snapshots) had some…

    Florian Klaempfl, Felipe Monteiro de Carvalho, Flávio Etrusco
    9
  6. tstringlist.savetostream

    After running tstringlist.savetostream how can I make sure that the buffer has been flushed and data sent successfully? Thx

    Terry A. Haimann, José Mejuto, Marco van de Voort
    6
  7. Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes?

    Versions x.x.1, x.x.3, x.x.5 are development versions? or are bug fixes? Ex.: 2.4.1

    Osvaldo Filho, Doug Chamberlin, Jonas Maebe
    4
  8. Re: Is it save to think default value of untouched string is ''?

    But ShortStrings also store the length in string[0]. If I do a append, I think the string will append to string[1].... So don't assume string are always initialized with…

    lyh1, Jorge Aldo G. de F. Junior
    1
  9. error on compilation

    When I try to compile on my laptop (fedora on a AMD64) with fp I get: fatal: Can't find unit system used by pruebacomentarios What's wrong here? Martín Marqués select…

    Martín Marqués, David Emerson, leledumbo
    2
  10. Error: Illegal qualifier in converting Delphi unit

    I am trying to compile the TVersionInfo component by Anders Melander at http://melander.dk/articles/versioninfo/. It defines the structure below type TTranslationRec =…

    Frank Church, Howard Page-Clark, Marco van de Voort
    4
  11. including libraies ?

    I tried to write a little utility to submit a command to code to do this is as follows: program TestPrg; Uses Classes, Process; Var i: Integer; Cmd, Pre, Post,…

    Terry A. Haimann, Paul Nicholls
    1
  12. modulo of negative dividend

    I'm checking the mod binary operator, and I found out that if the dividend is negative, it gives a negative result. AFAIK, mod gives an integer between 0 and d-1, where…

    Martín Marqués, Adriaan van Os, Flávio Etrusco
    2
  13. Floating point miscalculations on PowerPC

    I'm using FPC 2.2.4 (ppcppc) to create a PowerPC app with Lazarus. It's running under Rosetta on an Intel Mac. Simple floating point operations like this result in wrong…

    Tobias Giesen, Jonas Maebe
    1
  14. when cross-compiling, "Recompiling ..., checksum changed for ..."

    i use cross-compiling from win32 to (target)linux... and get this error; "Recompiling BaseUnix, checksum changed for System" *** i read this doc:…

    Haluk DUMAN, Jonas Maebe, leledumbo
    7
  15. Re: properties with getter evaluation in gdb

    After that patch any field anywhere in GDB's Pascal mode becomes case sensitive (and because FPC stores all identifiers in uppercase, that means you have to use…

    Jonas Maebe
    0
  16. syntax of deprecated / with/without semicolon ?

    All I got is http://www.freepascal.org/docs-html/ref/refse5.html it gives this example: So deprecated after a variable, or constant, does NOT have a semicolon. Indeed…

    Martin
    0
  17. Compiling for 64-bit Mac

    I've installed FPC from the fpc-2.4.0.intel-macosx.dmg package on SourceForge, and I'm trying to compile code into a 64-bit program. I can't find the command-line option…

    Rob Kennedy, Jonas Maebe
    1
  18. -Twin32 linker woes

    I am cross compiling with fpc svn trunk and -Twin32 on i386 Mac OS X to Win32. This works fine, except that {$linklib xxx.dll} says error: 1: Import library not found…

    Adriaan van Os, cobines, Jonas Maebe
    9
  19. FPC Docs updated

    The documentation has been re-generated and put on the website. the fpc/dist/2.4.0/docs directory on the FTP server contains also a version of the latest docs. They have…

    Michael Van Canneyt, Eduardo, Graeme Geldenhuys
    11
  20. Re: Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

    Jonas, you are my hero. This was exactly the problem. After adding " SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);…

    Schindler Karl-Michael, Jerry
    2
  21. Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

    Hi If I use Pa_IsFormatSupported from portaudio with a different sample rate than the default, I get a division by zero error or other arithmetic error. However, it…

    Schindler Karl-Michael, Jonas Maebe
    1
  22. Is it save to think default value of untouched string is ''?

    I have a a program that will read a string and parse the string to some sub-strings in sub routine. I add every character to a local string buffer in sub routine. The…

    lyh1, Bart, Jonas Maebe
    8
  23. Smartlinking public functions

    Hello Developers The system expects an application to implement (export) some functions that are to be linked statically. I'm using [public] modifier: function someFunc:…

    dmitry boyarintsev, Jonas Maebe
    4
  24. Linking statically C code with stdcall functions

    I'm trying to link my program statically with bzip2 library under Win32. The exported functions are declared as stdcall. I can link dynamically by declaring functions…

    cobines, Henry Vermaak, Jonas Maebe
    13
  25. gdb, dwarf, and ansistring

    Given the following example: ---------------------------------------- program project1; {$mode objfpc}{$H+} procedure doit (var s : ansistring); begin s := s + ' ' + s;…

    Seth Grover, Jonas Maebe
    5
  26. installing on RHEL5 (libtinfo)

    I'm running CentOS 5.3 (x86_64), and want to install FPC 2.4 on my machine, preferably from an RPM, but I can't because of a failed dependency on libtinfo. I've found…

    Bruce Bauman, Jonas Maebe, Juha Manninen
    6
  27. Determining procedure's name

    Is there a macro or function that gives the current procedure's name? E.g. procedure TClass.SomeProc; begin writeln(Format('This procedure's name is %s', [THE_MACRO]));…

    Wimpie Nortje, Jonas Maebe, Mattias Gaertner
    3
  28. Serial port parity...

    Is there eny chance to handle the parity bit for serial port communication? I am using a 9 bit communication with a device and I need to control the 9th bit. I tried…

    Mihai Rainer, Henry Vermaak
    1
  29. floating point an FPC

    I've made a small test: if (0.1+0.2) = 0.3 then The only compiler/interpator that actually tells that it equal is FPC. I've tested it using Javascript (in Firefox),…

    ik, Flávio Etrusco, Graeme Geldenhuys
    9
  30. Which regex unit to use?

    There are a few regex units include with FPC and Lazarus, and dozens more available for Delphi (and probably FPC too). Which one is the most well known, or best to use,…

    Graeme Geldenhuys, Joost van der Sluis, Seth Grover
    3

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999