fpc-pascal
Subscribe to this list Your subscription
Latest threads
- 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…
- Basically on the right track?24
Hi Everyone This is my first post here. I have NOT read all the documentation, please forgive this but I was hoping to ask a couple of questions to make sure I am on the…
- Extending an enumeration8
Is it possible to extend an enumeration, while preserving strong type checking? In other words, given existing code like type TUpstreamServerCapabilitiesBase=…
- Feature announcement: Extension of TThread's interface3
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…
- Strings - suggestions26
concerning the string topic, for me (using fpc since 2.0.4 on a regular basis; TP experience ~ average user) there really should be an decision what way to go as early…
- SocketError 1832
For some reason, when I read socketerror after calling fpRecv just after I established a connection, I get 183, or (on a very rare occasion) 10061. I couldn't find what…
- download manager1
I'm currently trying to create a download manager with Synapse for an application I'm creating. As the application may need to download many big files from either ftp or…
- Accessing low-level Firebird facilities4
Can somebody please lend me a hand making three sets of calls to (I think) ibase60dyn.pp please. I've written functions to make and poll asynchronous notifications for…
- Brook 1.0 - A new framework for web was born38
More than 15,000 lines of source code, more than 90 test cases, more than one year of work. Today, a new framework for web development was born. It's name is Brook and…
- GetTableNames in TSQLConnection / Postgresql31
Short version: A call to TSQLConnection.GetTableNames returns a list of tables on all schemas/owners, without the owner. Unless you are using a simple database with…
