fpc-pascal · 2013-01
- [news] DA-Soft discontinues AnyDAC component suite15
Seeing that they supported FPC/Lazarus too, I guess this might affect some people here. ----8<-------------8<-------------8<-------------8<-------------8<---- The…
- Compiling arm-embedded fpc24
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…
- -fPic2
When and where (platform) is -fPic needed for libraries? It is for Lazarus' Library template. Mattias
- [Announcement] Castle Game Engine 4.0.0 release for FPC game developers3
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):…
- TFPSMap return wrong pointer address2
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…
- pointer address safety2
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 ?
- Arm Embedded Question4
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…
- TFPCanvasDrawer and anti-alias.11
TFPCanvasDrawer provides anti-alias support? Thank you! Silvio Clécio My public projects - github.com/silvioprog
- Link for fpc 2.6.1 and 2.7 manual1
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…
- Sybil Library - OS/2 and other INF e-books6
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…
- Embeded ARM Examples.10
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…
- UTF-8 decoding0
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…
- Favourite Pascal books8
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…
- FPJSONRTTI: Case insensitive.5
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…
- Telnet subcommands revisited0
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…
- interactively draw an ellipse4
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,…
- Interrupts in ARM Embedded1
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…
- abstract classes4
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…
- Testing set membership for unicode chars6
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 […
- State of fcl-stl generics lib33
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…
- Unit alias2
Does FPC support unit alias commandline parameter like Delphi? " -A<unit>=<alias> = Set unit alias "…
- 3
- Generic + nested type = forward declaration not solved2
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…
- make: -iVSPTPSOTO: Command not found19
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…
- fpsystem output11
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…
- DaemonApp leak?0
Please see this issue: http://bugs.freepascal.org/view.php?id=23647 Thank you! Silvio Clécio My public projects - github.com/silvioprog
- Int64 is not an ordinal...8
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…
- Changing variable in conditional24
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…
- FPC's broken cross-compiler directory structure?3
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…
- Use of abstract classes10
I have the following test program: program AbstractTest; {$MODE ObjFpc}{$H+} uses Classes; type TAbstractClass = class abstract(TObject) end; var MyAbstractClass:…
- Linker fails cross compiling from Linux to Mac.3
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…
- class destructor not recognised4
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…
- Logging caller info0
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…
- Does FPHTTPServer support Keep-Alive: ON?1
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…
- Fwd: [OT] Nice post about Brook framework0
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 -…
- CrossFPC is finally released18
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…
