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. hello world

    Folks: Apologies for the beginner nature of this query... why won't this compile? It is the only open file and is saved, looks like a main program to me. program Hello;…

    M Pulis, Graeme Geldenhuys, Mark Morgan Lloyd
    5
  2. FPC Text IDE and Alt+F3 shortcut not working

    Under FreeBSD & Linux using Mate Terminal (and xterm)... If I press the Alt+F3 shortcut which should close the current active window, it opens the Options Menu instead.…

    Graeme Geldenhuys
    0
  3. getopts unit vs CustApp parameter handling

    Is the getopts unit deprecated or not recommended for usage? The reason I ask is because I see CustApp has similar functionality to the getopts unit, but the custapp has…

    Graeme Geldenhuys, Michael Van Canneyt
    5
  4. FCL: moving FastHTMLParser

    Is there any chance of moving “packages/chm/src/fasthtmlparser.pas” to a more publicly accessible location inside the FCL? eg: fcl-base? That way other FCL packages…

    Graeme Geldenhuys, Dmitry Boyarintsev, leledumbo
    3
  5. intel vs att asm (fstp instruction) (osx/clang features)

    I'm dealing with the following code (from ZenGL library), targeting OSX --------------- {$mode delphi} procedure m_SinCos( Angle : Single; out s, c : Single ); assembler;

    Dmitry Boyarintsev, Ched, Pierre Free Pascal
    3
  6. Property Attributes

    http://wiki.freepascal.org/Property_attributes. <http://wiki.freepascal.org/Property_attributes> 1 - Is there any plans to merge the branch which contains the…

    Mazo Winst, Michael Van Canneyt, Sven Barth
    2
  7. UnicodeString and surrogate pairs

    Does FPC's RTL (or FCL) include a function to check for UTF-16 surrogate pairs? I'd be very surprised if there isn't, but I have yet to find it in the documentation or…

    Graeme Geldenhuys, Marco van de Voort, Martin Schreiber
    9
  8. Debug and Release RTL & FCL side by side

    I sometimes hit a bug in my applications, but then there is no Stack Trace information, or simply something like 3 entries that don't give much information. See attached…

    Graeme Geldenhuys, Michael Van Canneyt, Tomas Hajny
    3
  9. FPC can't determine overloaded function to call

    I can't figure out why FPC is struggling with figuring out which overloaded methods to call. This is my application code which FPC has a problem with. type TPDFFloat =…

    Graeme Geldenhuys, Jonas Maebe, Peter
    4
  10. Is there a FPC symbol or define for the binary output filename?

    I'm writing a library that needs to be used as statically linked units in an application and also as a stand alone dll/so for use from other software. The library needs…

    Paul Michell
    0
  11. Iterator for Unicode encoded strings

    This question really applies for all Unicode encodings (UTF-8, UTF-16 and UTF-32). In the modern world you simply can't use indexed access into Object Pascal strings to…

    Graeme Geldenhuys, Michael Schnell, Michael Van Canneyt
    3
  12. FastCGI on Windows IIS

    I'm trying to use FastCGI on IIS without success. https://www.iis.net/configreference/system.webserver/fastcgi My environment is: - FPC 2.6.5 - Lazarus 1.5 - IIS -…

    Marcos Douglas, Michael Schnell, Michael Van Canneyt
    16
  13. FPC create unit path

    When I try to compile a test app, I get an error saying the output folder (defined by FU) cannot be created by FPC. I suppose this behaviour is ok? Is there a way to…

    Darius Blaszyk, Graeme Geldenhuys, Sven Barth
    2
  14. Class/Record helpers on genericd?

    Correct me if I'm wrong, but didn't you add support for class/record helpers on generics? For example I'd like to be able to add methods to dynamic arrays: type…

    Anthony Walter, Maciej Izak, Sven Barth
    3
  15. FPC 3 regression: cannot use TStringList for UTF-8 data any more?

    disallowing "AnsiString" code for UTF-8 is a huge regression. I use TStringList for UTF-8 strings. This is no longer possible, because automatic conversions cause…

    Unknown author, Graeme Geldenhuys, Jonas Maebe
    46
  16. Unit path search order

    http://www.freepascal.org/docs-html/current/user/usersu7.html#x21-280003.1.2 states: " You can add a directory to the unit search path with the (-Fu (see page 100))…

    Martin Schreiber, Jonas Maebe
    3
  17. c-blocks odd hints

    The compiler seems to generate odd hints: Local absolutevar "FPC_BLOCK_SELF" is not used Here's the code. if Assigned(gc.extendedGamepad) then…

    Dmitry Boyarintsev
    0
  18. FCL maskutils incompatible with Delphi

    Last week, a member of Lazarus Brazillian group reported a problem related to the MaskUtils unit. His message (adapted from pt-BR to en-US) was: *"Good afternoon.* *I…

    silvioprog, Andreas Klausmann, Bart
    8
  19. TPersistent does not call IFPObserved.FPONotifyObservers

    I have a class inheriting from Tpersistent: type TCondition=class( TPersistent, ICondition) var aCondition : TCondition; but surprisingly, when I call…

    Dennis
    0
  20. Is Generics.collections stable?

    Has Anyone used Generics.Collections at https://github.com/dathox/generics.collections ? Is it stable enough for production use? Dennis

    Dennis, Graeme Geldenhuys, leledumbo
    8
  21. Build in a C compiler

    That would be great. It is not that difficult. { = begin } = end and the other stuff is quite similar. Pascal and C are close related. It could be made with a compiler…

    Rainer Stratmann, Jonas Maebe, leledumbo
    14
  22. Problem using ipc with OSX and fpc 3.0.0

    I have a problem with some existing code that compiled with fpc 2.6.4 under OSX and does not compile with fpc 3.0.0. The problem is that the code makes a direct call to…

    Tony Whyman, Jonas Maebe
    1
  23. Any chance to add the TStringBuilder to FCL?

    Is there any chance to add a class like Delphi's TStringBuilder <http://docwiki.embarcadero.com/Libraries/Seattle/en/System.SysUtils.TStringBuilder> to FCL? It would be…

    silvioprog, Bart, Dmitry Boyarintsev
    24
  24. fpdoc fixes for FPC 3.0.2

    I have some fixes for fpdoc [and more to come] and would like them applied to FPC 3.0.2 if possible. Is there an estimate cut-off date for back-porting fixes to 3.0.2,…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  25. is there any pascal library of SNTP (Simple Network Time Protocol)?

    I am want to embed the SNTP into my applications so that I don't have to run Dimension 4 or other software to correct my PC Clock. Thanks in advance. Dennis

    Dennis, Graeme Geldenhuys, Unknown author
    2
  26. STATIC can only be used on non-virtual class methods

    Consider the following code: === test begin === {$MODE DELPHI} TStaticVirtualTest = class sealed(TObject) public class procedure Test; virtual; static; end; class…

    silvioprog
    0
  27. Error: Internal error 2014052302 on changing some common units

    whenever I change the source of a common unit (that is used by many other units), when I compile with lazarus 1.7 +FPC 3.1.1, this error will appear in the messages…

    Dennis, Dennis Poon, Sven Barth
    2
  28. A better way?

    The most annoying problem I have with Pascal currently is with circular unit dependanices and “global” classes that need to be referenced from many units. In other…

    Ryan Joseph, Dennis, Ewald
    33
  29. try..finally vs interfaces performance

    Recently i did some maintenance in a code of a colleague. I realized that he designed several classes with interface support so he do not need to protect the code blocks…

    Mazola Winstrol, Graeme Geldenhuys, Luiz Americo Pereira Camara
    8
  30. Initialization in Shared Libraries

    I writting a cross-platform shared library (.dll, .so). I need to initialize some global variables. As the free pascal doesn't support library events (PROCESS_ATTACH,…

    Mazola Winstrol, Jonas Maebe, Michael Van Canneyt
    6

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