Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2012-08

  1. Xcode

    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…

    Franz, Felipe Monteiro de Carvalho, Jonas Maebe
    17
  2. Editing resource of executable

    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…

    Krzysztof, Graeme Geldenhuys, Jonas Maebe
    22
  3. Delphi's anonymous functions in Free Pascal

    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…

    Andrew Pennebaker, Alberto Narduzzi, Alexander Shishkin
    124
  4. Access to compiler's internal data structures

    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…

    Kenneth Cochran, Bernd, Graeme Geldenhuys
    8
  5. Identifier not found "result"

    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…

    Rainer Stratmann, Giuliano Colla, Graeme Geldenhuys
    35
  6. GDB help needed please

    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…

    Graeme Geldenhuys, Bernd K., Jonas Maebe
    3
  7. Lazarus 1.0 Release

    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…

    Mattias Gaertner
    0
  8. another minor bug in fcl-passrc (for-in loop)

    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…

    Seth Grover
    1
  9. Including binary data making easy

    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…

    Rainer Stratmann, geneb, Graeme Geldenhuys
    27
  10. pls help in pascal programmation error

    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…

    vdsba, Bart
    1
  11. Wiki search broken?

    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…

    Andrew Haines, Vincent Snijders, zeljko
    4
  12. Daily Source Snapshot of Development Tree (trunk)

    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…

    Rainer Stratmann, Jeppe Græsdal Johansen, Sven Barth
    2
  13. Error when trying to build a crosscompiler for arm

    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…

    Rainer Stratmann, Jeppe Græsdal Johansen, Marco van de Voort
    5
  14. Policy regarding HTML messages

    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…

    Graeme Geldenhuys, Jonas Maebe
    2
  15. variant.inc(82, 10) Error: Illegal type conversion: "Text" to "TextRec"

    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.…

    ik, Jonas Maebe, Marco van de Voort
    8
  16. TObjectQueue with ability to dequeue arbitrary positions

    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…

    Jorge Aldo G. de F. Junior, waldo kitty
    1
  17. Language mode, assembler style

    Why is -Mfpc the default language style? I assume -Mobjfpc or -M2 is the most used style. Why does -Mobjfpc overwrite the assember style?

    Rainer Stratmann, Jonas Maebe, Marco van de Voort
    4
  18. Any FPC/Lazarus success stories on Nokia N9?

    Hi FPC & Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. Presumably the N900…

    Reinier Olislagers, Paul Breneman, zeljko
    3
  19. Error when trying to build a crosscompiler for arm (2)

    OS: Linux

    Rainer Stratmann
    0
  20. FP IDE: Debuggee redirection under Linux

    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…

    leledumbo
    0
  21. Linker speed

    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…

    Rainer Stratmann, Graeme Geldenhuys, Tomas Hajny
    5
  22. a queried interface destroyed after writeln the address of it

    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

    ZAN DoYe, Jonas Maebe
    2
  23. Unit testing aid...

    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…

    Michael Van Canneyt, Daniel Gaspary, Graeme Geldenhuys
    7
  24. Easier fpmake

    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…

    Michael Van Canneyt, Tomas Hajny, Unknown author
    2
  25. TSQLDBLibraryLoader committed for SQLDB

    After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. araminta:…

    Michael Van Canneyt, LacaK, Ludo Brands
    9
  26. How to avoid namespace name clashes after USES ?

    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…

    Timothy Madden, DaWorm, Jonas Maebe
    40
  27. Link against .so generated by ppumove

    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…

    leledumbo, Jonas Maebe
    1
  28. EControlC instead of EZeroDivide when using SSE instructions

    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…

    Olivier SANNIER, Jonas Maebe, OBones
    6
  29. FPC unit testing generation program

    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…

    Reinier Olislagers
    0
  30. wrong definition of SHCreateStdEnumFmtEtc() in unit shlobl

    While implementing an OLE drag&drop source I stumbled over this: shlobj.pp, Line 2444 function SHCreateStdEnumFmtEtc(cfmt:UINT; afmt:array of TFORMATETC; var…

    Bernd
    0
  31. Network mutex

    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…

    Fabio Luis Girardi, Jorge Aldo G. de F. Junior
    1
  32. Possible RTFM question: is there something like an IsRootPath() function?

    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…

    Bart, Jonas Maebe, Juha Manninen
    22
  33. wiki down again?

    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…

    Chadisko, Vincent Snijders
    1
  34. DOSbox issues

    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…

    Guillermo Martínez Jiménez, Reinier Olislagers
    2
  35. Smartcard & Pascal

    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…

    Koenraad Lelong
    0
  36. Assembler file generate by compiler

    Does the compiler generates (an) assembler file(s)? I did not find here: http://www.freepascal.org/docs-html/prog/prog.html

    Rainer Stratmann, Jonas Maebe, leledumbo
    14
  37. FPC trunk seems to crash compiling Lazreport; was: Re: Lazreport compilation problems with FPC trunk

    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…

    Reinier Olislagers, Jonas Maebe, Ludo Brands
    8
  38. FPC vs Delphi's unicode string support questions

    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…

    Graeme Geldenhuys, Jonas Maebe, Jürgen Hestermann
    19
  39. GDB 7.4 & FP IDE

    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…

    leledumbo
    1
  40. rawbytestring

    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…

    Marco van de Voort, Jonas Maebe
    1
  41. Resourcestring and multi-line text

    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…

    Mark Morgan Lloyd, Marco van de Voort
    2
  42. Interbase vs Firebird header translation

    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…

    Graeme Geldenhuys, LacaK, Reinier Olislagers
    3
  43. linux: should we hard-code versioned or unversioned shared libraries in our apps?

    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),…

    Graeme Geldenhuys, Henry Vermaak, Jonas Maebe
    100
  44. Get all caller adresses of a given function/procedure before executing

    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 -…

    Rainer Stratmann, Jonas Maebe, Jorge Aldo G. de F. Junior
    73
  45. Don't understand Zipper.DoEndOfFile/UnZipper.DoEndOfFile

    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…

    Reinier Olislagers, Michael Van Canneyt
    4
  46. fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

    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…

    Reinier Olislagers, Graeme Geldenhuys, Jonas Maebe
    37
  47. Makeskel generation question

    I've run makeskel on ibconnection.pp. This declaration: protected ... function GetHandle : pointer; override; gets output as: <!-- function Visibility: protected -->…

    Reinier Olislagers, Graeme Geldenhuys, Michael Van Canneyt
    7
  48. WeekDay outdated?

    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…

    Jürgen Hestermann, Daniel Gaspary, Howard Page-Clark
    9
  49. fpc no longer links

    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…

    Mattias Gaertner, Jonas Maebe
    4
  50. Label

    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;

    Rainer Stratmann, Jonas Maebe, Sven Barth
    11