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. Dot syntax for types?

    I remember I heard about a mode switch that requires "type groups” (what are these called btw?) to use a . and be prefixed. For example: type TGLType = (GL_FLOAT,…

    Ryan Joseph, Michael Van Canneyt, Sven Barth
    6
  2. Change in TStrings.LoadFromFile/LoadFromStream encoding handling

    Just a heads-up. The LoadFromStream and LoadFromFile calls of TStrings have been changed. They now by default take into account encoding. This change was necessary for…

    Michael Van Canneyt
    0
  3. Compiler hangs while generating debug information

    I encountered an odd problem, however reliably reproducible under both windows 7 and 10, 32bit, with FPC 3.0.2 and 3.0.4. (NOT with Lazarus 1.6.4 which uses FPC 3.0.2…

    Nitorami, Sven Barth
    1
  4. issue when enabling -O2

    I am getting an exception when I enable the -O2 optimization. More precisaily, the line that stars with write_portd.... is corrupting the data section. This is the…

    Matias Vara, Karoly Balogh (Charlie/SGR
    11
  5. can inherited simply replace inherited method(param1, param2, param3)?

    are the 2 below equivalent? procedure Method(param1, param2 : integer); begin inherited; end; procedure Method(param1, param2 : integer); begin inherited Method(param1,…

    Dennis, Graeme Geldenhuys, Mattias Gaertner
    2
  6. PAS2JS: operations with array of record

    Since it's missing the Pas2JS specific forum, I don't know if here is correct place to post things about "Pas2JS".  I'm using it a lot and it's very promising. I…

    warleyalex, Mattias Gaertner, Michael Van Canneyt
    9
  7. PAS2JS: JSON suggestion

    IMHO, the TJSJSON external class definition is incorrect. Currently, we have class function, if you want to use the stringify method, use this wierd…

    warleyalex
    0
  8. Generics vs templates

    I was talking with a c++ developer who explained how templates are implemented in c++ and how use some recursive method which causes them to totally murder compile…

    Ryan Joseph, Giuliano Colla, Graeme Geldenhuys
    18
  9. Comp type

    By accident I noticed the comp type for the first time. It's an Int64 but is considered to be a real type. Just out of curiosity, what is the use case of such a type, or…

    Darius Blaszyk, greim, Jonas Maebe
    7
  10. Register Allocation on x86_64

    is it possible that the register allocation on x86_64 is a bit inefficient? No matter the optimization settings, I can never get FPC to use more than the rax and rdx…

    Martok, Jonas Maebe
    5
  11. Problems with writing to console

    I have been mixing "writeln(StdOut" and regular writeln in my application (actually a couple of applications working together) and found that the output on the console…

    Darius Blaszyk, James Richters, Michael Van Canneyt
    4
  12. re-engineering tool

    Hi! Since I'm confronted with the task of analyzing a pile of object pascal sources I'd like to know: Is there any tool that can help me? Automatically generating a…

    Marc Santhoff, Juha Manninen, Marco van de Voort
    6
  13. Re: fpc-pascal Digest, Vol 163, Issue 12

    Den 2018-01-08 kl. 08:49, skrev Sandro Cumerlato: Great! It works just fine! Very neat and tight fix too! And in time before Christmas is *really* over. At least we have…

    Ingemar Ragnemalm
    0
  14. Re: First pas2js public release

    An update on my tests with pas2js: I have overcome most problems now and am quite a bit happier with what I see - and what I did see before was good! Reimar Grabowski…

    Ingemar Ragnemalm, Michael Van Canneyt, Sandro Cumerlato
    3
  15. Re: fpc-pascal Digest, Vol 163, Issue 11

    Thanks! The limitations in the sound playing are straight from JavaScript's Audio API. I think I know how to loop a sound, although the online advice are pretty…

    Ingemar Ragnemalm, Sandro Cumerlato
    1
  16. Error when trying to make tests for target AVR

    I'm trying to run the test suite for AVR by executing the following make statement: make FPC=~/fpc/3.1.1/compiler/ppcx64 TEST_FPC=~/fpc/3.1.1/compiler/ppcrossavr…

    Christo, Florian Klaempfl
    3
  17. String message methods and the self parameter

    When reading https://www.freepascal.org/docs-html/ref/refsu31.html#x82-1040006.5.7 I stumbled on the following text at the bottom of the page: "In addition to this…

    Ewald, Sven Barth
    2
  18. Final Methods support

    Does FPC have support for final methods? Please see -> http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Methods_(Delphi)#Final_Methods Marcos Douglas

    Marcos Douglas B. Santos, Sven Barth
    2
  19. Translate C code

    Again I would like to ask some support on a piece C code that I need to translate to pascal. The code in question is: #define MEMNEXT(x) ((MyStruct *)(((char *) x) -…

    Darius Blaszyk, Giuliano Colla, Karoly Balogh (Charlie/SGR
    7
  20. Modern Compiler Construction using Pascal

    I'd be interested to know if any modern compilers have been written in Pascal (other than the Pascal Compiler). It's unfortunate that that most Pascal books out there…

    Yves Cloutier, Graeme Geldenhuys, greim
    8
  21. CGI/FastCGI and WS request with a max time response

    I have a FastCGI application which needs to receive an user request but, in some cases, the app should consume a WebService(WS) before make the response to the user. The…

    Marcos Douglas B. Santos, leledumbo, Michael Van Canneyt
    4
  22. Get user ID for name on Linux

    I would like to get the user ID for a Linux user name. Unfortunately Libc and UnixUtils don't seem to be available in 64-bit, so I can't call the functions getpwnam or…

    Tobias Giesen, geneb, Giuliano Colla
    10
  23. any existing units/libraries for sorting?

    I have a list of records (each with a few fields). I want to let users display this list of records in ascending orders of any record field. Is there any existing…

    Dennis, Dennis Poon, Ryan Joseph
    3
  24. Possible Memory Leak in TThread.Synchronize

    I have been investigating a possible memory leak in a multi-threading Lazarus program compiled with 3.0.4 where the stack trace with heaptrc shows: Heap dump by heaptrc…

    Tony Whyman, Michael Van Canneyt, Sven Barth
    3
  25. FPC on zSeries Mainframes

    I remember back in 2012 (I think) there was a large discussion about implementing support for the zSeries IBM mainframes. The wiki had many pages on the topic too.…

    Graeme Geldenhuys, Mark Morgan Lloyd
    1
  26. Increasing Image Resolution with Neural Networks

    To whom might be interested, I've just recorded a video showing how to increase image resolution using free pascal: https://www.youtube.com/watch?v=jdFixaZ2P4w I…

    Joao Schuler
    0
  27. Why win64 program are considerably bigger in exe size than win 32?

    I am upgrading my program from win 32 to win 64 using the new Lazarus 1.8. I discovered my program exe size increased from 6M to 9M. Why? Dennis

    Dennis, Florian Klämpfl, Graeme Geldenhuys
    9
  28. Publishing indexed property in descendant

      is this bug?    { TCompStreamPers }   TCompStreamPers = class(TCustomControl)   private     function GetItem(AIndex: Integer): TPersItem;     procedure…

    Vojtěch Čihák, Michael Van Canneyt
    2
  29. What happened to FileOpen in trunk?

    In multi-thread applications in Linux environment, I'm using FIFO's for communicating between threads. In order to make it work properly, the FIFO must be opened in non…

    Giuliano Colla, Michael Van Canneyt
    2
  30. First pas2js public release

    Hello fellow Pascal enthousiasts, It is with great pleasure that I can finally announce the first publicly available version of pas2js. A "beta" version, version 0.8.39.…

    Michael Van Canneyt, code dz, Dave Connolly
    21

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