fpc-pascal · 2012-08
- Xcode17
Can somebody explain Xcode-installtion? Last version of free pascal is 2.6 and working with Xcode 3.2.6. Meanwhile last Xcode version is 4.4.1. Version 4.1 was installed…
- Editing resource of executable22
I have some problem. Example: I created some exec using free pascal and lazarus. It is placed on http server. User in webbrowser click download, and server should attach…
- Delphi's anonymous functions in Free Pascal124
Does Free Pascal have anonymous functions that you can pass around, e.g. to a sort(compare : function, arr : array) function? If not, does anyone know any hacks to…
- Access to compiler's internal data structures8
First I'll say I know very little about the inner workings of an actual compiler. I took a course on formal language theory ages ago so I do have some understanding of…
- Identifier not found "result"35
This bevaviour is likely when someone starts with fpc, because the default mode is Free Pascal (-Mfpc). Wouldn't it be good to give an additional suggestion if the…
- GDB help needed please3
I hope somebody knows more about GDB that I. I'm trying to debug an error in one of our Master Maths projects. This error only occurs under Windows, where it bombs out…
- Lazarus 1.0 Release0
The Lazarus team is glad to announce the release of: Lazarus 1.0 At this important stage the current team would like to thank all the past and current people who were…
- another minor bug in fcl-passrc (for-in loop)1
Greetings! I found another minor problem with the fcl-passrc parser. The new for-in string loop (http://wiki.freepascal.org/for-in_loop#String_loop) causes the parser to…
- Including binary data making easy27
Would this be possible? // get access to the data of file.dat // have 1 executable file with containing all the data {$ir file.dat mydata} // include resource or similar…
- pls help in pascal programmation error1
Hi, since this morning I try to find the error but nothing, the error is: Fatal: Unexpected end of file. Here you could find my file this error please. program (dev…
- Wiki search broken?4
Search seems to be broken for me on the wiki "There was a server error processing your request. We apologize. Take me back where I was (before the error) Database…
- Daily Source Snapshot of Development Tree (trunk)2
http://www.freepascal.org/develop.var ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip Is this always the latest trunk version? Or is there somewhere a…
- Error when trying to build a crosscompiler for arm5
I downloaded the daily source an wanted to build a crosscompiler for arm with: make clean buildbase installbase CROSSINSTALL=1 CROSSOPT="-XParm-elf-" OS_TARGET=embedded…
- Policy regarding HTML messages2
What is the policy with HTML messages in this mailing list? I find it very annoying when messages to mailing lists are in HTML - this seems to be the general consensus…
- variant.inc(82, 10) Error: Illegal type conversion: "Text" to "TextRec"8
For two weeks now, I have the following error message with FPC 2.7.1: variant.inc(82,10) Error: Illegal type conversion: "Text" to "TextRec" I'm currently on r22233.…
- TObjectQueue with ability to dequeue arbitrary positions1
while working on my actor model concurrency for freepascal i met the following problem. Each actor has a mailbox, that is made of the following components : A standard…
- Language mode, assembler style4
Why is -Mfpc the default language style? I assume -Mobjfpc or -M2 is the most used style. Why does -Mobjfpc overwrite the assember style?
- Any FPC/Lazarus success stories on Nokia N9?3
Hi FPC & Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. Presumably the N900…
- 0
- FP IDE: Debuggee redirection under Linux0
When I was on Windows, "use another tty for debuggee" works fine. The output gets its own console, and I can debug while watching the output. I'm on Kubuntu now so my…
- Linker speed5
I try to be independend from lazarus and wrote a configure file which I then pass to fpc at the console. Now suddenly the linker is noteable slower. In both modes (from…
- a queried interface destroyed after writeln the address of it2
I don't know if it's an undefined behavior or a bug. The environment is fpc 2.6-bugfix branch x86-64 linux. See the details in the attached code
- Unit testing aid...7
for those that do unit testing, I committed a small tool "pas2ut" which analyses a unit, and creates a unit with a number of (empty) test cases. Obviously, the unit…
- Easier fpmake2
As you know, FPC uses fpmake to compile everything in packages. As I've been steadily improving fcl-passrc for fpdoc, (it's now almost on par with the compiler, barring…
- TSQLDBLibraryLoader committed for SQLDB9
After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. araminta:…
- How to avoid namespace name clashes after USES ?40
Hello As the language is currently specified, an identifier is searched in, and used from, the last unit in the USES clause that exposes that identifier. As some might…
- Link against .so generated by ppumove1
I've created a .so from a unit by compiling it to .ppu and .o and then executes ppumove on the .ppu. Now I've got the .so and .ppl (extension specified with -e), how can…
- EControlC instead of EZeroDivide when using SSE instructions6
I'm using FreePascal 2.6.0 under Win32 here and I'm seeing a very weird behavior as I'm not getting EZeroDivide when doing float divisions, but a rather surprising…
- FPC unit testing generation program0
Just saw this commit fly by: r22165 | michael | 2012-08-21 21:43:26 +0200 (di, 21 aug 2012) | 1 line * pas2ut, initial version (create unit tests from pascal unit) That…
- wrong definition of SHCreateStdEnumFmtEtc() in unit shlobl0
While implementing an OLE drag&drop source I stumbled over this: shlobj.pp, Line 2444 function SHCreateStdEnumFmtEtc(cfmt:UINT; afmt:array of TFORMATETC; var…
- Network mutex1
Hi!! I'm searching about Network mutex/semaphore. The main idea is avoid multiple computers (running applications built with FPC) access at the same time a single…
- Possible RTFM question: is there something like an IsRootPath() function?22
Does fpc have a function that determines if a given paths is the root (e.g. '/' in Linux, 'F:\' in Windows)? I could not find such a thing. The Delphi converter from…
- wiki down again?1
is the freepascal wiki down again? greetings View this message in context: http://free-pascal-general.1045716.n5.nabble.com/wiki-down-again-tp5710880.html Sent from the…
- DOSbox issues2
Has somebody used Free Pascal 2.6 in DOSbox? I'm having problems with the installer (text looks corrupted and it doesn't install) but I don't know if it's an issue in…
- 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;
