Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2013-01

  1. [news] DA-Soft discontinues AnyDAC component suite

    Seeing that they supported FPC/Lazarus too, I guess this might affect some people here. ----8<-------------8<-------------8<-------------8<-------------8<---- The…

    Graeme Geldenhuys, Antonio Fortuny, Juha Manninen
    15
  2. Compiling arm-embedded fpc

    I was looking into the latest fpc to see if there were updates about arm-embedded since my last version. Indeed there are ! So I downloaded it (svn 23505) and tried to…

    Koenraad Lelong, Florian Klämpfl, Jeppe Græsdal Johansen
    24
  3. -fPic

    When and where (platform) is -fPic needed for libraries? It is for Lazarus' Library template. Mattias

    Mattias Gaertner, Antonio Fortuny, Florian Klämpfl
    2
  4. [Announcement] Castle Game Engine 4.0.0 release for FPC game developers

    I would like to announce a release of Castle Game Engine 4.0.0, an open-source cross-platform 3D game engine for Object Pascal (only FPC/Lazarus):…

    Michalis Kamburelis, Michael Van Canneyt, Victor Matuzenko
    3
  5. TFPSMap return wrong pointer address

    I'm trying to use TFPSMap, to store a class using a key. While the key seems to be saved properly, and easy to find, the data pointer that returns is wrong. The adding…

    ik
    2
  6. pointer address safety

    What is the safest (no memory corruption etc...) way to use format string, and by using '%P' pass a class memory address ? Does casting to Pointer good, or is it unsafe ?

    ik, Sven Barth
    2
  7. Arm Embedded Question

    I've been following the wiki and have successfully created fpc for my arm processor ( Cortex M3 - using a LPC 1343 board) ( as per the wiki's intructions) once i have…

    Unknown author, Koenraad Lelong, Michael Ring
    4
  8. TFPCanvasDrawer and anti-alias.

    TFPCanvasDrawer provides anti-alias support? Thank you! Silvio Clécio My public projects - github.com/silvioprog

    silvioprog, Graeme Geldenhuys, Leonardo M. Ramé
    11
  9. Link for fpc 2.6.1 and 2.7 manual

    Please where can I fund a link for fpc 2.6.1 and 2.7 manual? Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College…

    Eric Kom, Tomas Hajny
    1
  10. Sybil Library - OS/2 and other INF e-books

    I know there are still a few of you developing for the OS/2 platform. So I made available on my server some INF e-books. They originally came from the Sybil Library…

    Graeme Geldenhuys, Reinier Olislagers, Tomas Hajny
    6
  11. Embeded ARM Examples.

    I’ve been a user of Lazarus for years now and will soon want to write some code to run on Embedded ARM ( specifically an ARM Cortex M3 ) using an LPC1343. I’m new to…

    Unknown author, Gerhard Scholz, Koenraad Lelong
    10
  12. UTF-8 decoding

    What does Utf8Decode() do if the input is incomplete because it's arriving slowly over a serial or telnet connection? By analogy with StrToInt() etc., is there be a…

    Mark Morgan Lloyd
    0
  13. Favourite Pascal books

    Hi Everyone I am just putting together an order for abebooks. They have a million and one Pascal books. I can't decide on which ones to buy. Could you let me know what…

    Patrick, Ewald, Graeme Geldenhuys
    8
  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
    5
  15. Telnet subcommands revisited

    Please could somebody with appropriate privilege reopen http://bugs.freepascal.org/view.php?id=22032, or tell me to start a new bug. The patch I supplied added a…

    Mark Morgan Lloyd
    0
  16. interactively draw an ellipse

    Hi! this code procedure TForm1.DrawBtnClick(Sender: TObject); {Draw some ellipses on the canvas - random size and color} var i:integer; cx,cy:integer; begin with image1,…

    duilio foschi, Ewald, Johann Glaser
    4
  17. Interrupts in ARM Embedded

    I haven't been able to find a clear example on how to program on ARM with interrupts. Can somebody post an example? I am specially interested in Systick interrupts on…

    Juan Duran, Jeppe Græsdal Johansen
    1
  18. abstract classes

    FPC allows the Delphi-compatible "class abstract" syntax, but does not seem to prevent instantiation of such a class. The following code compiles and runs satisfactorily…

    Howard Page-Clark, Daniel Gaspary, Graeme Geldenhuys
    4
  19. Testing set membership for unicode chars

    Hi list I want to test membership of a unicode char in a set / array of unicode chars. Something like var ucCh: unicodechar; if ucCh in […

    Wimpie Nortje, Honza, leledumbo
    6
  20. State of fcl-stl generics lib

    I remember seeing discussion about fcl-stl saying that it would still need improvement but nobody is actively working on it. I just couldn't find the thread about it…

    Juha Manninen, Florian Klämpfl, Honza
    33
  21. Unit alias

    Does FPC support unit alias commandline parameter like Delphi? " -A<unit>=<alias> = Set unit alias "…

    Martin Schreiber, Michael Van Canneyt, Sven Barth
    2
  22. xmlConfig Documentation

    John, leledumbo, Reinier Olislagers
    3
  23. Generic + nested type = forward declaration not solved

    Why does the following fail with: test.pp(7,29) Error: Forward declaration not solved "constructor TVector$LongInt.TIter.Create;" program Test; {$mode objfpc}{$H+} type…

    robin, leledumbo, Sven Barth
    2
  24. make: -iVSPTPSOTO: Command not found

    After tried to build the fpcbuild.zip version, by executing the commad make build or make, I received the following error message: make: -iVSPTPSOTO: Command not found…

    Eric Kom, Geoffray Levasseur-Brandin, Jonas Maebe
    19
  25. fpsystem output

    When calling for example fpsystem( 'cat /proc/partitions' ); the lines are not beginning at the 1st character of the next line Instead of Line1 Line2 Line3 like in the…

    Rainer Stratmann, Jonas Maebe, leledumbo
    11
  26. DaemonApp leak?

    Please see this issue: http://bugs.freepascal.org/view.php?id=23647 Thank you! Silvio Clécio My public projects - github.com/silvioprog

    silvioprog
    0
  27. Int64 is not an ordinal...

    I tried using an Int64 as a loop variable in a for loop. The compiler complained that it was not an ordinal type. This struck me as odd. The docs indeed say Int64 and…

    Bart, Florian Klämpfl, Michael Van Canneyt
    8
  28. Changing variable in conditional

    I like when Free Pascal trying to implement best practices from other languages. That was with increment variable using assign operator: i += 1. Anyway, few days ago I…

    Krzysztof, Henry Vermaak, ik
    24
  29. FPC's broken cross-compiler directory structure?

    I build FPC cross-compilers for Windows, Macintosh and (32 bit) Linux on a Debian Wheezy 64 bit host. There appears to be a bug in the build process that produces dodgy…

    Bruce Tulloch, leledumbo
    3
  30. Use of abstract classes

    I have the following test program: program AbstractTest; {$MODE ObjFpc}{$H+} uses Classes; type TAbstractClass = class abstract(TObject) end; var MyAbstractClass:…

    Michael Fuchs, Graeme Geldenhuys, Howard Page-Clark
    10
  31. Linker fails cross compiling from Linux to Mac.

    I had a working Debian Squeeze to Mac OSX Snow Leopard cross- compilation system working. It's documented here: http://wiki.freepascal.org/Cross_compiling_OSX_on_Linux…

    Bruce Tulloch, Jonas Maebe
    3
  32. class destructor not recognised

    The following program compiles and gives output as expected, but if the lines that call the class destructor are uncommented it fails to compile with the error…

    Howard Page-Clark, Jorge Aldo G. de F. Junior, Paul Ishenin
    4
  33. Logging caller info

    Is there a "civilised" (i.e. fairly portable and not to tricky to code) way that a procedure can find what's called it at runtime, without having to have gdb etc.? The…

    Mark Morgan Lloyd
    0
  34. Does FPHTTPServer support Keep-Alive: ON?

    I want to benchmark but the current result looks weird: ab -n 100000 -c 100 -k http://localhost:2015/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright…

    leledumbo, Michael Van Canneyt
    1
  35. Fwd: [OT] Nice post about Brook framework

    Please see here: http://pascalgeek.blogspot.com.br/2012/12/brook-framework-new-web-application.html Thank you and happy new year! :) Silvio Clécio My public projects -…

    silvioprog
    0
  36. CrossFPC is finally released

    Using Delphi IDE to write code, and FPC to compile or cross-compile to 64-bit Windows, 32-bit Linux etc. http://www.crossfpc.com/ I believe it comes from the same…

    Graeme Geldenhuys, Adrian Veith, Andreas Berger
    18