fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Smartcard & Pascal0
I'm gathering information for a possible project using a smartcard. I would like to have it running on linux, so I will be using pcsc-lite. In september 2010 there was a…
- Assembler file generate by compiler14
Does the compiler generates (an) assembler file(s)? I did not find here: http://www.freepascal.org/docs-html/prog/prog.html
- FPC trunk seems to crash compiling Lazreport; was: Re: Lazreport compilation problems with FPC trunk8
Thread from Lazarus list... Perhaps some kind FPC dev could look at bug 2252 if this is an FPC trunk bug connected with generating stabs debug info instead of a…
- FPC vs Delphi's unicode string support questions19
In the tiOPF project the v3 branch is a Delphi Unicode String enabled version of tiOPF, thus it only supports Delphi 2009/2010 and newer. A while back I had some…
- GDB 7.4 & FP IDE1
I would like to build FP IDE with debugger support, it's been a long time since I did it (and it was on windows). I've built GDB plainly (simply ./configure), and I have…
- rawbytestring1
In past unicode discussions, rawbytestring was offered as a solution to mixing utf8 and unicodestring (utf16). I got the impression that rawbytestring was a kind of open…
- Resourcestring and multi-line text2
When putting text into a resourcestring, for example for i18n, what is best practice for multiline blocks? I'm thinking of, for example, explanatory text that goes on a…
- Interbase vs Firebird header translation3
I started a new message thread, as it doesn't really relate to the origin thread any more. Yeah, the unit naming scheme is a bit dodgy at the moment. At one point in…
- linux: should we hard-code versioned or unversioned shared libraries in our apps?100
This issue has come up before in a fcl-db discussion regarding the Firebird Database, where the libfbclient.so was missing from many Linux distros (eg: Ubuntu 10.04),…
- Get all caller adresses of a given function/procedure before executing73
The code below finds all caller adresses in a program to a known procedure/function adress. With this I can get all caller adresses to the translate function. Moreover -…
- Don't understand Zipper.DoEndOfFile/UnZipper.DoEndOfFile4
I've been working on documenting the Zipper/Unzipper classes: packages\paszlib\src\zipper.pp Now looking at the protected procedure TZipper/TUnzipper.DoEndOfFile They…
- fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css37
In my (Windows) SVN fpc installs, I can find the fpdoc executable both under the bin directory as well as utils\fpdoc However, I've only found fpdoc.css in utils\fpdoc…
- Makeskel generation question7
I've run makeskel on ibconnection.pp. This declaration: protected ... function GetHandle : pointer; override; gets output as: <!-- function Visibility: protected -->…
- WeekDay outdated?9
I am not able to use this function: http://www.freepascal.org/docs-html/rtl/dos/weekday.html nor can I find it in the sources. Does it still exist? If yes, how to use…
- fpc no longer links4
Since yesterday fpc no longer links some programs, e.g. lazarus. It reports no error: Assembling (pipe) ../units/i386-darwin/carbon/lazarus.s Compiling resource…
- Label11
Is it possible to get the adress of a label in a procedure? label mark1; procedure s; begin mark1: end; var p : pointer; begin p := @mark1; // does not work; end;
- Inline bytes11
How is it possible to put some inline bytes in the code like the former inline( $1f , $ef , $1A ); instruction?
- Get all caller adresses of a procedure/function31
procedure p1; begin ... end; How to get all caller adresses of p1 in a program before p1 is executed? For example p1 is called from 20 different places in a program.…
- /docs-html/rtl/system/get_caller_addr.html0
There is a typo in this documentation. The Description field refers to get_caller_frame when get_caller_addr is surely meant. Howard
- Compiling on Raspberry Pi3
I recently recieved my Raspberry PI. That's an arm-linux device. I downloaded the easyfpgui-package from http://www.turbocontrol.com/easyfpgui.htm. I can't compile the…
- How to find a graphic element in the form editor?4
When I want to add a graphic element like TFileNameEdit which I have already used in other programs in the form editor I don't know how to find it in the menu. I am…
- class of a class function4
How can I get the actual class a class function is called in? TSomething = class class function GetMyClass: TClass; end; TOtherthing = class(TSomething) end; ... class…
- virtual class var?5
Hi, is it possible to have a virtual class variable? I want to have a pointer available per class that can be a different value. Something like this: TA = class class…
- printing each Friday the 13 using Pascal4
A friend of mine started a hobby project: Printing every Friday the 13, in a range of 5…
- Problem compiling3
I get: text.inc(199,34) Error: Illegal type conversion: "Text" to "TextRec" after updating the compiler sources from SVN. Free Pascal Compiler version 2.7.1 [2012/05/22]…
- Translating from error numbers to symbolic name4
When using a function like fpAccept on a non-blocking socket, in some cases -1 is returned with a documented (Linux kernel) error code of EAGAIN. Should I be looking for…
- Initialization of class field7
I'm reading about variable initialization (http://www.freepascal.org/docs-html/ref/refse22.html) . Can I initialize class field too? Like in Java: type TMyClass = class…
- strlen and nil3
What does strlen return on nil? The FPC function strlen is implemented via FPC_PCHAR_LENGTH. The documentation does not say what happens when passing nil. Mattias
- Byte ordering in IP4 and IP6 addresses0
If preparing an address returned by fpgetpeername() for display or logging, should I be using HostAddrToStr() or NetAddrToStr()? Is anybody aware that HostAddrToStr()…
- [OT] GPL Lisence help7
first let me express my apologies for the off topic question. I'm having trouble to choose the correct gpl lisence for a new open source project that i'm starting. I…
