Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2015-03

  1. How do you build FPC?

    I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC…

    Jon Foster, Anthony Walter, Karoly Balogh (Charlie/SGR
    14
  2. Does a single cross compiler for a CPU used for all operating systems?

    Does a single cross compiler for a CPU used for all operating systems? eg ppcross386 is the cross compiler for i386. Is it the same compiler that would be used whether…

    vfclists ., Adriaan van Os, Jon Foster
    5
  3. Floor, Ceil and Int64

    Floor and Ceil (math unit) only return integers. Should there be an overloaded one for Int64 as well? B = 11111111111.111100000000000 Trunc(B) =…

    Bart, Peter
    2
  4. Do the make commands have a way of listing the options and possible values for them?

    The ./configure command used by a lot of unix programs can list the options and possible values for them. Do the make commands for Lazarus and FPC have such an option?…

    vfclists ., Jonas Maebe, Mark Morgan Lloyd
    5
  5. EAccessViolation on wrong exception re-raise: intended behavior?

    Consider the following program: {$mode objfpc} uses sysutils; begin try try raise exception.create('test'); except on e: exception do begin e.message := 'tset'; raise e;…

    leledumbo, Michael Van Canneyt
    3
  6. Looking for JavaScript component on FPC

    I am trying to integrate javascript for back-end support of cloud apps. I noticed the fcl-js package. Does anyone have an idea when we can expect to have a component…

    Andrew Brunner, Anthony Walter, Carlo Kok
    22
  7. [No subject]

    Mark Morgan Lloyd
    0
  8. Which programs or packages do I need to cross compile for 64bit Linux on 32 bit Linux?

    When I do 'make crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc' on 32 bit Linux I get this error : 'x86_64-linux-as: Command not…

    vfclists ., leledumbo
    1
  9. Exceptions in Library

    Would anybody be able to enlighten me on enabling exception trapping in Linux libraries ? As far as I can tell, exceptions propagate through to the main app - (written…

    steveg, leledumbo
    2
  10. Re Raise Exception

    I'm having problems with an application on a client with random A/V's. In order to understand what is going on, I wrote a simple web service client for my mantis tracker…

    Dimitrios Chr. Ioannidis
    0
  11. Does the basic make INSTALL create ppcross386

    At some stage in the make INSTALL the installation stops with this message. /usr/bin/install -c -m 755 ppcross386…

    vfclists ., leledumbo
    3
  12. fpHttpClient and Https support ?

    Hello. First of all, congratulation for fpHttpClient.pas. It works directly, like charms, without to install any dependencies. => wow. I am able to do internet audio…

    fredvs, Michael Van Canneyt, silvioprog
    7
  13. Suggestion: TDataSetEnumerator

    What do you think about a TDataSetEnumerator class in the DB unit? Something like this: === begin code === TDataSetEnumerator = class private FPosition: Integer;…

    silvioprog, Constantine Yannakopoulos, LacaK
    10
  14. getaddrinfo

    I'm working on an cross-platform application with DNS resolution with IPv6 support, but I can't really get around how should I handle IP version independent DNS…

    MegaBrutal, Ewald, Mark Morgan Lloyd
    4
  15. How to work with reference-counted strings in dynamically created objects

    The following program, compiles and runs as expected using a shortstring declaration in the TExample record. Could someone explain how to adapt it to cope with a…

    Howard Page-Clark, Sven Barth
    2
  16. File Descriptor in Windows ?

    Hello. In Unix systems File Descriptor can be created with fpPipe(FDInput, FDOutput). Then FDInput/FDOutput may be used as file descriptors. Ok, perfect. But fpPipe is…

    fredvs, Andrew Haines, Marc Weustink
    23
  17. Writing a Console App in FreePascal that connects to MySQL

    I was trying to see how to write a Console Appication in FreePascal that will connect to MySQL. I know how to do this in c, but thought it would be interesting to be…

    Terry A. Haimann, LacaK
    1
  18. TProcess does not work in Windows XP

    I know XP is an old OS but some customers of mine still have it ! I'm writing a little software which is calling a console program and I have the need to capture its…

    Antonio Sanguigni, Graeme Geldenhuys, leledumbo
    15
  19. Free Pascal and Lazarus Nightly Builds

    This is a public notice. Get Lazarus has switched from hosting arbitrary revisions to hosting setup programs from nightly builds. http://www.getlazarus.org/setup/ Going…

    Anthony Walter, LacaK, Lukasz Sokol
    10
  20. Helpers for objects (not classes)

    Do the new class helpers support objects? If this is not implemented how much work (1-10) is it to do? Andrew

    Andrew Haines, Michael Schnell, Sven Barth
    3
  21. Mode Delphi and functions as parameters.

    I have recently compiled projects which were converted from Delphi and it seems to me that the passing a function as a parameter does not require the '@' symbol. I…

    vfclists ., Constantine Yannakopoulos, Jürgen Hestermann
    8
  22. Portable coroutines

    Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However…

    Mark Morgan Lloyd, Marco van de Voort, Michael Schnell
    6
  23. Where is the 'write' function defined and how is it different from 'writeln'?

    Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other xxxxWrite functions, but no 'write' itself Frank…

    vfclists ., Florian Klaempfl, Jonas Maebe
    11
  24. SVN Protocolo implementation

    I would like to know if there is a OP implementation of SVN Protocol. I know there is a LazSvnPkg but it is basde on TProcess and communication with SVN bin. This would…

    Antonio Sanguigni, Mark Morgan Lloyd
    1
  25. Common class type

    Hi. Is there method in fpc to find the highest common class-type of two derived classes? Torsten Bonde Christiansen.

    Torsten Bonde Christiansen, Howard Page-Clark
    1
  26. Thoughts on Shell Approach to TCP Sockets

    Despite documentation and manuals, I have not figured out how to use TCP sockets in Object Pascal, since there doesn't seem to be a primitive for it, or any easy way to…

    Coyo Stormcaller, Marco van de Voort, Mark Morgan Lloyd
    10
  27. PtrInt - possible candidate to be marked as deprecated

    Based on what the documentation says "introduction of ptrint type was a mistake", shouldn't the PtrInt type be marked as deprecated in FPC 3.0.0 and removed in a later…

    Graeme Geldenhuys, Jonas Maebe, Mattias Gaertner
    12
  28. Internet audio streaming ?

    Hello. I have some problem with audio internet streaming. I would like to do it with mpg123 + portaudio libraries but... Here is the procedure used by mpg123 =>…

    fredvs, Andrew Haines
    3
  29. FPCUnit - parallel test suite execution

    As per good unit test guidelines, tests should be independent of each other and not rely on results from earlier tests. The perfect candidate for parallelism. So what…

    Graeme Geldenhuys, Jonas Maebe, leledumbo
    16
  30. Saving and reading TBlowfish crypted text

    I need to encrypt TMemo.Lines and to write it to a file. Then, of course, I need the contrary operation I mean reading encrypted text on file, decrypt it to put into…

    Antonio Sanguigni, Ewald, Graeme Geldenhuys
    5
  31. fgl.TFPGMap / operator not overloaded for object types

    Hi all I am wondering if somebody created a bug request for the problem described in http://lists.freepascal.org/fpc-pascal/2011-January/028020.html ? If not I'd like…

    denisgolovan, Maciej Izak, Sven Barth
    7
  32. how to use signals in freepascal?

    I have some questions regarding event and signals: 1) RTLEventWaitFor can a program waiting for an RTLEvent be notified by an RTLEventSet from ANOTHER process? 2) Unix…

    Xiangrong Fang, Jonas Maebe, Michael Schnell
    11
  33. Google Code closing down

    If you haven't seen yet, Google announced that they will be closing down Google Code. My only concern is that some niche projects used it and that such code could be…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Florian Klaempfl
    21
  34. THashedStringList.IndexOfName returns bogus value for empty string

    Hi fpc experts. I've just discovered that THashedStringList.IndexOfName often return a bogus value instead of the expected -1 when the parameter passed is an empty…

    Giuliano Colla
    0
  35. Is the current stable release of FPC 2.6.4 or 3.0.1?

    Is the current stable release FPC 2.6.4 or 3.0.1? Is it actually 3.0.1? When I check this site - http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/ the last tag is…

    vfclists ., Graeme Geldenhuys, Sven Barth
    2
  36. What is already Unicode enabled in 3.1.1?

    Is there some FPC unicode wiki roadmap / status page? Something like Lazarus has for it's widgetsets [http://wiki.freepascal.org/Roadmap] For many years now the tiOPF…

    Graeme Geldenhuys, Jonas Maebe
    2
  37. Help with Delphi ASM translation to FPC

    Could somebody confirm if the Delphi ASM does the same as the FPC code? This code is used in a unit testing framework to help report the exact location of where an error…

    Graeme Geldenhuys
    2
  38. Warning "Local variable seems to be not initialized" on dyn array

    I get a warning that a local dynamic array variable is not initialized. Aren't such managed types initialized by default? On http://wiki.freepascal.org/Dynamic_array it…

    Jürgen Hestermann, DaWorm, Florian Klämpfl
    25
  39. fpdoc to use custom CSS file for HTML output

    Why is the --css-file option limited to the CHM output? Why can't I specify it for the HTML output too? Alternatively, how do I tell fpdoc not to use the default…

    Graeme Geldenhuys, Michael Van Canneyt
    4
  40. JVM

    I tried to build ppcjvm and failed. I followed the wiki instructions: http://wiki.freepascal.org/FPC_JVM/Building fpcmake of 3.1.1 is in PATH. make CROSSOPT="-O2 -g"…

    Mattias Gaertner, Jonas Maebe
    2
  41. how to use procedure of object in C

    I define a procedure like this: type TDataHandler = procedure(data: Pointer) of object; procedure SetHandler(h: TDataHandler); external cdecl; Now, can I implement…

    Xiangrong Fang, Ewald, Jonas Maebe
    8
  42. FPDoc an deprecated functions

    Is the <version> tag the only way to mark methods or functions deprecated in the documentation? I've just tried the latest fpdoc from trunk and it doesn't seem to show…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  43. fpGetTimeOfDay

    Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW…

    Mark Morgan Lloyd, Henry Vermaak, Marco van de Voort
    4
  44. License terms for FastHTMLParser

    While reading up on the history of FastHTMLParser (to find out who/where the root owner of this unit is) I noticed that the last release (0.4) from Jazarsoft…

    Christo, Andrew Haines, Graeme Geldenhuys
    2
  45. FPC embedded ?

    Curious to know hands-on experience of list-members with FreePascal embedded. Arduino <http://arduino.cc/> looks quite attractive to me, but it's not Pascal. Any…

    Adriaan van Os, Ewald, Marco van de Voort
    17
  46. Base36 encoding

    Hello all. I need a couple of base36 (https://en.wikipedia.org/wiki/Base_36) encoding/decoding functions with the following or similar signatures: function…

    Constantine Yannakopoulos
    0
  47. fpGUI - UI Designer - place own components ?

    yesterday I tried fpGUI the first time - I only compiled the examples just to see how it looks. Now I "google and google" for an answer to the question, how to make…

    Peter Krawies, Graeme Geldenhuys, Tomas Hajny
    3
  48. [Windows] FileGetAttr reports faHidden on e.g. C:\

    Kind of off-topic. While working on Lazarus' TShellTreeView component, it was brought to my attention that FileGetAttr('C:\') returns an attribute that has faHidden in…

    Bart, José Mejuto
    1
  49. AddTerminateProc leak?

    The test: === begin code === program project1; uses SysUtils; function _Finalize: boolean; begin WriteLn('END'); Result := True; end; begin WriteLn('START');…

    silvioprog
    1
  50. Linux x64 linking error (FPC_ABSMASK_SINGLE)

    Hi! I have a (very) huge project, and compilation of a shared library inside it fails at the linking stage: /usr/bin/ld: </long/directory/file.o>: relocation…

    Victor Matuzenko, denisgolovan, Jonas Maebe
    3