Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2013-01

  1. Are global variables guaranteed to be zero?

    Will global variables and static global arrays be always initialized to zero? It seems that they in fact are, and there is quite a lot of code relying on it. On the…

    Alexander Klenin, Frank Church, Hans-Peter Diettrich
    11
  2. Weird output from fpGetErrNo

    I was just writing a little mmapped (that's two `m`'s -- no typo ;-) ) file stream and thought to do it properly just in case I might fork(). So I thought to give some…

    Ewald, Marco van de Voort, Tomas Hajny
    8
  3. Synapse hangs in ARM-Linux

    (Any Synapse experts around :-) ? ) With the great help from Thomas (who taught me to understand how the Linker works and that it's error messages are not what I…

    Michael Schnell, Luca Olivetti, Tomas Hajny
    15
  4. Fixes 2.6.1 fails to install under Win32

    I'm using a Win2000, and have a released FPC 2.6.0 installed. I updated my FPC 2.6.1 to r23533 (latest revision to date). I run by usual build.bat script (shown below).…

    Graeme Geldenhuys, Michalis Kamburelis
    2
  5. for-in-index loop

    There is good proposed extension of for-in loop on fpc wiki: get enumerator Position if available <http://wiki.freepascal.org/for-in_loop#Proposed_extensions>. From my…

    vrt277, Alexander Klenin, Daniël Mantione
    154
  6. Windows 32bits .EXE socket server application on Linux x64

    I wanted to share how I have been able to setup a Windows 32 bits executable on Ubuntu x64 using Wine, the EXE has been compiled with Delphi (the same works with…

    Jy V
    0
  7. RFC: Support for new type "tuple" v0.1

    Hello together! Based on the results of the "for-in-index" thread I've decided to come up with a draft for the Tuple type which is thought by many people to be a better…

    Sven Barth, Alexander Klenin, Hans-Peter Diettrich
    44
  8. FreeBSD ports maintainer for FPC?

    Who is the FreeBSD ports maintainer for FPC? There are some grammar errors in the pkg-message.in (final instructions after a make) file. I thought I would notify the…

    Graeme Geldenhuys, Marco van de Voort
    2
  9. Freebsd 9.1 -liconv not found

    I'm trying to compile fpc on a new FreeBsd 9.1 machine, I've installed iconv and libiconv from ports, but /usr/bin/ld keeps complaining about cannot finding -liconv. …

    Leonardo M. Ramé, Graeme Geldenhuys, Jonas Maebe
    7
  10. Catch a signal

    I'd like to catch a signal sent to a Linux program. Here: http://www.freepascal.org/docs-html/rtl/oldlinux/signal.html I see: "Install signal handler (deprecated) ...…

    Michael Schnell, Henry Vermaak, Marco van de Voort
    5
  11. Anonymous procedures (Was: Re: for-in-index loop)

    Yes, this is certainly the most interesting alternative. Actually, anonymous procedures/closures is the "real" task I wanted Vasily to perform, after the "warm-up" of…

    Alexander Klenin, kyan, Marco van de Voort
    12
  12. Anyone heading to FOSDEM next week-end ?

    let's share a beer at Delirium on friday evening with FPC developers in order to introduce to each other, projects we are working on, fields of interest, opportunities…

    Jy V
    0
  13. assumed bug in the RTL with ARM v5 regarding loading dynamic libraries

    Hi fpc RTL experts. My project uses Synapse but features link problems and crashes when I resolve same. Tracking this down: Synapse uses the unit dynlibs dynlibs uses…

    Michael Schnell, Henry Vermaak, Marco van de Voort
    28
  14. FPJSONRTTI: Case insensitive.

    I have this JSON: { "id": 1, "name": "Silvio Clécio" } And my object is: TPerson = class private FID: Int64; FName: string; published property ID: Int64 read FID write…

    silvioprog, Michael Van Canneyt
    1
  15. Install fpc and Friends on a non-Debian ARM-Linux Device

    Hi experts. (Beware: long explanation trying to help those ho try something similar. A question is asked at the end.) I am trying to install, test and run fpc programs…

    Michael Schnell, Mark Morgan Lloyd, Thomas Schatzl
    5
  16. "embedded" again

    Hi FPC Experts. I am doing a project that in the end is supposed to run on a QNAP 219 NAS. A colleague of mine is doing a similar task, that is supposed to run on a…

    Michael Schnell, Anton Kavalenka, Bernd Mueller
    83
  17. Res: DaemonApp leak?

    Fixed.

    silvioprog
    0
  18. dwarf for "array [ 0..191] of "

    Since I don't know the fpc cdoebase, I can not check this myself. I suspect it is a gdb issue. But if it is not to much work, maybe someone who does know fpc dwarf…

    Martin, Jonas Maebe, Sven Barth
    4
  19. arm-embedded buid broken since rev 23325

    Today I found some time to research since when excactly arm-embedded does not compile anymore, I found that since revision 23325 compile does not work anymore, can…

    Michael Ring, Florian Klämpfl, Jeppe Græsdal Johansen
    4
  20. New less verbose compilation of trunk

    Just wanted to say I like the new less verbose compilation of fpc trunk. Is this part of the result of moving to fpmake? Andrew Haines

    Andrew Haines, Graeme Geldenhuys, Henry Vermaak
    20
  21. Inline methods

    I'm running into a strange problem with inline methods. TCircularBuffer=class ... Pin:pointer; Pout:pointer; function IsFull:boolean;inline; end; function…

    Ludo Brands, Jonas Maebe, Martin
    6
  22. FPC for MIPS

    i'm back again ;) i have try this: but my Ubuntu Desktop 12.04 LTS can't run the "ppcmips" binary? $ chmod +x ppcmips $ ./ppcmips -iV bash: ./ppcmips: Kann die Datei…

    SkyDiablo, Jonas Maebe, Mark Morgan Lloyd
    7
  23. Do bitwise operation (1 or 2) acre about the sign ? (Giving sign related hints on compilation)

    Having recently asked about and learned that it is mainly a hint about performance. I have now another question about this hint: project1.lpr(6,9) Hint: Mixing signed…

    Martin, Hans-Peter Diettrich, ik
    13
  24. compile error for target arm-embedded trunk, seems to be caused by changes to threadvar

    I have tried to build the crosscompiler for arm-embedded for both windows and mac host, both builds fail at the same line: /bin/mkdir -p…

    Michael Ring
    0
  25. utf8 in 2.6.0

    I am trying to figure out how to do that, or what I do wrong. I found a page about $codepage, but it did not help http://wiki.freepascal.org/LCL_Unicode_Support I didnt…

    Martin, Aleksa Todorovic, Anton Kavalenka
    69
  26. Question about hint in bool eval / Mixing signed expressions and longwords gives a 64bit result

    I know it's a hint. And I know that implies it may mean noting, and yet is still present.... Just trying to understand. if I did "int-longword" (same for addition and…

    Martin, Jonas Maebe
    1
  27. LLVM

    Does any body work on a LLVM backend for Free Pascal? Has anybody experience with LLVM? Are there licensing issues? What about the quality of the produced code? What…

    Martin Schreiber, Florian Klämpfl, Graeme Geldenhuys
    17
  28. Feature announcement: Extension of TThread's interface

    Hello Free Pascal community! I'm pleased to announce the extension of TThread's interface to bring it more on par with current Delphi versions. Extensions: Note: in the…

    Sven Barth, Ewald, Graeme Geldenhuys
    39
  29. Forwarded message about FPC status

    Any FPC developer willing to comment on the status of some of these issues (that have been years overdue)? -------- Original Message -------- Subject: Re:…

    Graeme Geldenhuys, Dimitri Smits, Florian Klaempfl
    150
  30. Linux ELF executable file size

    Here's an interesting article about getting the smallest possible ELF executable size: http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html   Leonardo M. Ramé…

    Leonardo M. Ramé, Michael Van Canneyt
    1
  31. Where are parser sources?

    I look to fpc-2.6.0.source.zip, directory fpc-2.6.0\compiler. I see array arraytokeninfo in file tokens.pas where are keywords like 'repeat' and 'until'. But I can't…

    Andrzej Borucki, Anton Kavalenka, Hans-Peter Diettrich
    9