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. minor glitch in phrasing of rarely seen compiler warning

    I recently wrote code that produced this Warning ... Warning: compiler switches aren't supported in \ styled comments Should this not read as follows? Warning: compiler…

    Howard Page-Clark
    0
  2. Re: ARM Linux crosscompiler: compiles but... executable gives segmentation fault

    I guess not, when I remember correctly this has already been repaired for armv6m. The problem for me is that .Lj9 is defined as a negative number. As a consequence r13…

    Michael Ring, Jeppe Græsdal Johansen, Koenraad Lelong
    10
  3. Linking C library

    I'm trying to link a C library to my pascal app. From the messages I understand that I forgot to link in some additional library. However I cannot find which one that…

    Darius Blaszyk, Marco van de Voort
    1
  4. respawn a daemon in Linux

    Hi Linux Experts. Since years I am running an fpc program as a kind of daemon on a PC Linux server. I simply defined a "respawn" line in /etc/inittab and with any start…

    Michael Schnell, Mark Morgan Lloyd, Michael Van Canneyt
    18
  5. ARM Linux crosscompiler: compiles but... executable gives segmentation fault

    For the Dutch among us: de dag die je wist dat zou komen... Thanks to earlier help I got to build an ARM Linux cross compiler module in fpcup which even compiles fpcup…

    Reinier Olislagers, Florian Klämpfl, Michael Ring
    14
  6. Profiling ARM targets

    What is the recommended way to profile FPC applications run on ARM targets in light of the error message: Fatal: Option "-pg" is not, or not yet, supported on the…

    Bruce Tulloch, Jonas Maebe
    2
  7. Re: ARM Linux crosscompiler: compiles but... executable gives segmentation fault

    Might be related to the mla/mls optimization which somehow has been enabled even though it's still broken ----- Reply message ----- Fra: "Reinier Olislagers" Dato: man.,…

    Jeppe Græsdal Johansen
    0
  8. invalid floating point

    Running win32 fpc 2.7.1 10/01/2014 Compiling with no -v options.I get An unhandled exception occurred at $0043C670:37 EInvalidOp: Invalid floating point operation…

    John Lee
    0
  9. fpc build breaks since 26398

    Hi Looks like since 26398 rev. fpc cannot be built. It fails with following when running "make all". classes.pp(56) Warning: Implicit uses of Variants unit Fatal: Can't…

    denisgolovan, Marco van de Voort, Mattias Gaertner
    4
  10. Documentation, syntax diagrams

    Today I found this type definition in some FreePascal sources: TypeReal =type Double; I wondered what the second “type” keyword means here (I have never seen this…

    Jürgen Hestermann, Constantine Yannakopoulos, Howard Page-Clark
    29
  11. Efficient millisecond timestamp

    What's the most efficient and portable way of getting a millisecond timestamp, relative to any ancient epoch? I find TimeStampToMSecs(DateTimeToTimeStamp(Now)) hard to…

    Mark Morgan Lloyd, Graeme Geldenhuys, Michael Schnell
    11
  12. Compiled resource file search path

    Hi Could anybody give a hint on which fpc option to use to force compiler search .res files in some directory? I've added -vt switch and it shows that the only file name…

    denisgolovan, leledumbo, Paul Ishenin
    5
  13. Load .NET dll (or bootstrap CLR to be precise) from FPC

    I'm writing a web app hosting several tasks in FPC, however one of the task is calling a function residing in a .NET dll. I've made a flat C interface for the dll (so…

    leledumbo, Dmitry Boyarintsev, hinst
    9
  14. UTF8 codepage for file in trunk: codepage constant names?

    First, thanks to all involved in documenting the existing FPC trunk Unicode situation on the wiki. Exactly the kind of docs I was looking for! I'm trying to avoid…

    Reinier Olislagers, Jonas Maebe, Michael Van Canneyt
    9
  15. Ansi version of string functions

    I would like to know what is the difference between AnsiStrscan and strscan, or, generically, the Ansi* functions versus non-ansi versions? Thanks a lot. Xiangrong

    Xiangrong Fang, Jonas Maebe
    1
  16. Is it just me or... trunk cross compile failure on arm-linux

    Working on my arm-linux cross compiler (which used to at least build a compiler etc), I currently hit this with fpc trunk:…

    Reinier Olislagers, Florian Klämpfl, Pierre Free Pascal
    8
  17. gtree - Freeing a nil Root without error

    gtree.TTree type has the following code: constructor TTree.Create; begin FRoot := nil; end; destructor TTree.Destroy; begin FRoot.Free; end; How is possible then that…

    Daniel Gaspary, leledumbo, Marco van de Voort
    5
  18. Trunk Win64 compilation problems: objects.ppu - commit 26398?

    Hitting compilation problems on trunk with fpcup. cp.exe: C:/development/fpctrunk/rtl/units/x86_64-win64/objects.ppu: No such file or directory make.exe[4]: ***…

    Reinier Olislagers, Marco van de Voort
    2
  19. Checking assignment compatibility

    Simulating a C-style conditional, I can do this function tf(const q: qword; const qt, qf: TObject): TObject; inline; begin Assert(TypeOf(qt) = TypeOf(result)); which- as…

    Mark Morgan Lloyd, Jonas Maebe, Michael Van Canneyt
    6
  20. how to initialize a SearchRec var?

    understanding that SearchRec has different formats for different OS targets, we've tried to use fillchar to initialize it to an empty record... unfortunately that does…

    waldo kitty, Bart, Florian Klämpfl
    22
  21. Free Pascal 2.6.4-rc1 released!

    Hello We have placed the first release candidate of the Free Pascal Compiler version 2.6.4 on our ftp servers. You can help improve the upcoming 2.6.4 release by…

    Marco van de Voort, Bart, Ched
    30
  22. Boolean types

    What is assignment-compatible with a bytebool etc.? My reading of the manual suggested that it should be possible to assign numeric zero or non-zero, but fPB1L: bytebool;

    Mark Morgan Lloyd, leledumbo, Sven Barth
    6
  23. Mailing list server migration

    I plan to migrate the mailing lists to a another server within the next hours/days. This might cause some down time. I hope no data gets lost :) Florian

    Florian Klämpfl
    1
  24. cannot read /sys/class/net/eth1/address even as root user on linux

    I tried to read the mac address in the captioned file path. In terminal, I can simply 'cat' and display the mac address. In FPC, when I tried to use TFileStream to read…

    Dennis Poon, Henry Vermaak, Lukasz Sokol
    7
  25. Suppressing ^C signal from stdin

    When reading characters from a program's stdin using fpRead(), what's the best way of suppressing ^C so that it doesn't raise SIGTERM or whatever? I want to be able to…

    Mark Morgan Lloyd, Sven Barth, Tomas Hajny
    4
  26. Warning: Variable xxx does not seem to be initialized

    I'm using FPC 2.6.2 and {advancedrecords}. The compiler shows a warning when I use a record variable. IMO this is a bug because record variables need not be initialized,…

    Marcos Douglas, Dmitry Boyarintsev, Sven Barth
    10
  27. How to know the string type of a variable?

    Is possible to know what string type of a variable (AnsiString, UTF8String, RawByteString, etc)? Eg: === BEGIN === procedure foo(s: string); begin // if S is AnsiString…

    Marcos Douglas, Juha Manninen, Jürgen Hestermann
    15
  28. Very odd case parsing problem

    I've been wrestling with something for a chunk of the early evening, which is reproducible in situ but not in a cut-down test program. Using 2.6.2 on x86 Linux in objfpc…

    Mark Morgan Lloyd, leledumbo, Martin Frb
    13
  29. Android cross-compiler: arm-linux-androideabi- binutilsprefix

    Complete log: http://pastebin.com/Bj2EGmWD FPC trunk, trying to get an Android ARM cross compiler going. 1. Optimistically using FPC 2.6.2 as bootstrap - should I be…

    Reinier Olislagers, Florian Klämpfl
    2
  30. Memory leak in GetEnumerator

    I used HeapTrc on my TTreap class: https://github.com/xrfang/fpcollection/blob/master/src/units/treap.pas It reported memory leak in the following procedure: function…

    Xiangrong Fang, Jeppe Græsdal Johansen
    2

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