Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. How to test fpjson?

    First, sorry for the silly question! ^^' So, I want to send some improviments to the `jsonscanner` and `jsonparser` units based on the updated JSON RFC…

    silvioprog, Graeme Geldenhuys, Michael Van Canneyt
    6
  2. Issues with fpc-build-3.0.0

    I'm experimenting with building fpc from source in various combinations and a couple of issues have come up which could be bugs or just me not knowing which environment…

    Tony Whyman, Jonas Maebe, Mark Morgan Lloyd
    10
  3. GLExt crashing

    Functions like glBlendEquation from GLExt are crashing (access violation) compiling on Mac with ppc386. The functions didn’t get loaded I think for some reason. Is…

    Ryan Joseph, Michalis Kamburelis, Reimar Grabowski
    10
  4. RTL with debug info on win64

    I am not able to build a fixes_3_0 RTL with debug info on win64 with a fixes_3_0 ppcx64.exe. How should it be done? Thanks, Martin

    Martin Schreiber
    1
  5. SIGSEGV when using varargs calling

    Consider the following types: TPuts1 = procedure; cdecl varargs; TPuts2 = procedure(par: string); cdecl varargs; TPuts3 = procedure(const par: string); cdecl varargs;…

    silvioprog, Jonas Maebe, leledumbo
    8
  6. Documentation example error

    I was always under the impression that the examples included in the FPC documentation should be compilable examples. Looking at the following example code included with…

    Graeme Geldenhuys, Jonas Maebe, Michael Van Canneyt
    8
  7. bitmask vs sets. Is there a performance difference?

    Is there a performance difference between using bitmask values and sets? For example: Option #1: ================================= const FLAG_A = 1; // 1 shl 0 FLAG_B =…

    Graeme Geldenhuys, Jonas Maebe, Nikolay Nikolov
    7
  8. CrossFPC

    CrossFPC recently released a new update and I decided to test it. Howerver it fails to install on either of my two machine. I tried subscribing the their email list…

    Andreas, Michael Ring
    2
  9. AVR Busy Wait implementation

    has anyone already written a busy wait procedure for AVR or any other embedded processors? I'm currently facing issues converting Arduino's calculation of time…

    Simon Ameis, Christo Crause, Florian Klaempfl
    21
  10. Revision 32985: faSymLink = $00000400 platform;

    In revision 32985 faSymlink got a platform modifier. The same goes for for faHidden. However these constants are used cross-platform in FindFirst/FindNext. On *nix…

    Bart, Graeme Geldenhuys
    2
  11. constructor "guarantee" and other behavioural stuff

    I last used Pascal in school a long long time ago. Just discovered Free Pascal. I have the following: type TNonceBytes = array[1..8] of byte; TNonce = class private pn:…

    Pierce Ng, Mark Morgan Lloyd, Michael Van Canneyt
    5
  12. libevent for socket

    Could anyone help me with some samples of writing socket program with libevent, or is there any adapter/wrapper already exists for freepascal? Thanks! Xiangrong

    Xiangrong Fang, Bo Berglund, Michael Van Canneyt
    3
  13. XML Registry Bug?

    I came across this trying to track down a bug in a linux program where two separate instances of TRegistry were being used to both read and write data to the registry.…

    Tony Whyman
    0
  14. location modifier

    I can't find the 'location' modifier in the docs. Is it missing? For example: function bsd_socket(Domain: LongInt location 'd0'; Type_: LongInt location 'd1'; Protocol:…

    Mattias Gaertner, Karoly Balogh (Charlie/SGR, Michael Van Canneyt
    7
  15. [FEATURE REQUEST] New FGL type: TFPGMapObjectData

    The FGL unit has many very nice classes, but we should add a new type: TFPGMapObjectData. (or simply TFPGMapObject) This type is just a list that frees its itens on…

    silvioprog, Maciej Izak
    3
  16. Can I compile MASM code/file in FPC?

    Can I compile MASM code (or files) in FPC? If so, how to declare some MASM directives like .code, .data?, .const etc.?: === begin code === program fpcmasm; {$asmmode…

    silvioprog, Sven Barth
    4
  17. FileAge() issue?

    I'm trying to get the datetime from a file, but it seems that the FileAge() function doesn't work properly. See only the second from the results below: FPC: 20/05/2014…

    silvioprog, Michael Van Canneyt, Sven Barth
    5
  18. Somebody raised another issue on the FPC Github mirror

    If somebody wants to follow up, feel free. https://github.com/graemeg/freepascal/commit/2924efbb06d376af73c271babe4fe3c11702f3a2#commitcomment-15491388 - Graeme - fpGUI…

    Graeme Geldenhuys, Bart, Sven Barth
    2
  19. Writing floating points to steams

    Hi all. What is the best/preferred way to write floatingpoint to a steam? Since TStream doesn't have any native WriteFloat/Double and the likes, some conversion is…

    Torsten Bonde Christiansen, Dennis, Graeme Geldenhuys
    17
  20. [PATCH] Adds the method `TFPGMap.TryGetValue()`

    Issued at #29397 [1]. Thank you! [1] http://bugs.freepascal.org/view.php?id=29397 Silvio Clécio

    silvioprog
    0
  21. Is the TFPGMap.KeyData()/TDictionary.TryGetValue() faster than TStringList.Values[]?

    I need two fast list features: Add(Key: string, Value: string); Get(Key: string, Value: string): string; So, I took a look at the `TFPGMap` (and `TDictionary` on Delphi)…

    silvioprog, Maciej Izak, Marco van de Voort
    8
  22. Objects, open arrays and memory leaks

    Hello: I'm using Free Pascal Compiler version 3.0.0 [2015/11/16] for i386 I'm getting memory leaks (on winXP and Linux) . I have tracked to this. (Note: they are…

    Santiago A.
    0
  23. Do I need to make fpc 3.0.0 twice?

    I downloaded the release tag of fpc 3.0.0 via svn and built it using the 2.6.4 seed compiler. It seems to work OK. But now I got to thinking: Should I make fpc 3.0.0…

    Bo Berglund, Jonas Maebe, leledumbo
    10
  24. Problem with Socket Programming

    I have some problems with Socket programming under Free Pascal (Windows). Meanwhile I succeded in finding a working Internet Domain Client. But the corresponding server…

    Helmut weber
    0
  25. Problem with varargs directive

    The problem seems more related to Delphi, but I want to understand why it compiles only in FPC. The declaration is just: === begin code === var FmtStr: function(const…

    silvioprog, Anthony Walter
    4
  26. building arm cross compiler on FreeBSD

    I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The compiler does not know any arm target. FreeBSD is running on some arm platforms (e.g.…

    Marc Santhoff, Jonas Maebe, Michael Ring
    8
  27. Constructor question

    Is this legal Pascal? uses classes,sysutils; type { TA } TA = class protected F1: Integer; F2: Integer; public constructor Create; virtual; end; { TB } TB = Class(TA)…

    Bart, Mattias Gaertner
    2
  28. Strange file

    Each time I use fp (text mode ide) under linux or win-xp (3.0 and 2.6.4), there appears a new emtpy file in the directory: dummy.$$$ . Apparently it's safe to remove it…

    Ched
    0
  29. try except end cannot handle Exception class name with "." Fatal: Syntax error, "DO" expected but "." found

    I am using FPC 2.6.4 TMyClass =class public type EMyException=class(Exception); procedure DoSomething; end; procedure SomeProc; var aObj : TMyClass; begin try aObj :=…

    Dennis, Graeme Geldenhuys, Sven Barth
    2
  30. JSON Web Token (JWT) implementation needed

    Is there anyone already implements https://tools.ietf.org/html/rfc7519? I find a Delphi implementation (https://github.com/paolo-rossi/delphi-jose-jwt), but it uses the…

    leledumbo, Michael Van Canneyt
    5

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999