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. Enum range check error

    Is this a bug in generics with default()? ===================== type TEnum = (Unused = '.'); generic TSomething<T> = class function Get: T; end; TEnumeratedSomething =…

    Ryan Joseph, Howard Page-Clark, Jonas Maebe
    6
  2. netdb, DNS and TCP

    To keep track of the work I've been doing on DNS in netdb, I created bug #37906 in Mantis. https://bugs.freepascal.org/view.php?id=37906 I've attached to a note on that…

    Noel Duffy, Michael Van Canneyt
    4
  3. Adding file to string to the RTL

    I often need to use a function which reads a file into a string, as is so common in so many scripting languages. Can it be considered to add something like this to the…

    Ryan Joseph, Alexander Grotewohl, Bart
    29
  4. Are record fields zeroed on declaration of a record?

    I would like to know if data containers of type packed record are zeroed when the item is declared? type TMyRecord = packed record AField1: byte; AField2: word; AField3:…

    Bo Berglund, gabor, Michael Van Canneyt
    10
  5. uses in '' relative paths

    I'm trying "uses in" which I never knew existed before. The idea is that I provide a path to TOML.pas using -Fu then use the "in" syntax to reference the units which are…

    Ryan Joseph, Marcos Douglas B. Santos, Mattias Gaertner
    5
  6. Precedence of compiler switches/directives

    I'm curious about who wins, if switches/directives are set to different values in different places. They could be set in fpg.cfg Command line or Lazarus lpi Directives…

    Peter, Michael Van Canneyt
    1
  7. Merging units

    Something that's bothered me for a while I wanted to ask about. I have a package I want to distribute which has 2 or more units, all of which are required to use the…

    Ryan Joseph, Marco van de Voort, Sven Barth
    4
  8. Re: Looking for testers for 3.2.0 release cross-compilers for NDS, GBA and WII targets

    Hi From time to time i check, whether building the cross-compilers works on macOS. However, I do not really test the cross-compilers or even run fpc programs on these…

    Schindler Karl-Michael
    0
  9. Dynamic Arrays in Procedures

    I'm wondering if there is a way to pass an array of values to a Procedure without defining an array variable.. For example, if I have a Procedure: Procedure…

    James Richters, gabor, Howard Page-Clark
    5
  10. Looking for testers for 3.2.0 release cross-compilers for NDS, GBA and WII targets

    I was wondering if there are still users of Free Pascal compiler targeting arm-nds, arm-gba or powerpc-wii. I recently managed to re-generate 3.2.0 cross-install files…

    Pierre Muller, code dz
    1
  11. Converting date formats

    I have some dates formats like this which I would like to convert to TDateTime. Are these supported in the RTL? I tried using the StrToDate functions but I got errors.…

    Ryan Joseph, Michael Van Canneyt, Winfried Bartnick
    6
  12. TOML parser

    I was going to do a YAML parser but I decided on TOML instead because: 1) appeared easier to parse 2) the format is simpler to understand/less bloated 3) looks nicer for…

    Ryan Joseph
    0
  13. TFPGMapObject duplicate errors

    I expected to get an assertion when I added the duplicate key "foo". What am I doing wrong? type TSomeMap = specialize TFPGMapObject<String, TObject>; var map: TSomeMap;…

    Ryan Joseph, Mattias Gaertner, Michael Van Canneyt
    5
  14. Cross platform question about lpi file content

    I am trying to find the cause of a linker error when building my application on Linux. While doing this I looked in the project file projname.lpi and found this strange…

    Bo Berglund, Michael Van Canneyt, Sven Barth
    6
  15. json parser line numbers

    the line numbering of the json parser has been changed recently. It used to say "Error at line 1"... when there was an error in the first line, but now it says "Error at…

    Benito van der Zander, Michael Van Canneyt
    5
  16. basic question on begin, end;

    I have a basic shuffle routine. I put being, end statements in the outer loop for clarification. It ended up producing random results. Commenting out the begin, end…

    dano none, Bart, Bernd Oppolzer
    11
  17. Buffer size for TCP DNS queries in netdb

    I've spent some time this past couple of weeks reading through the DNS resolver code in netdb and poring over RFCs that specify the protocol with a view to adding…

    Noel Duffy, Michael Van Canneyt
    4
  18. fpcmake packaging

    I've never used fpcmake before and instead relied on my own custom build system solutions which are a pain to maintain and non-standard which it makes extra work…

    Ryan Joseph, Ben Grasset, Michael Van Canneyt
    7
  19. Coalition for App Fairness

    Leading App Developers Form The Coalition for App Fairness to Promote Competition and Protect Innovation on Digital Platforms…

    Adriaan van Os
    0
  20. stdcall without the ;

    I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while it works here, it fails when the customer runs it. I noticed that I'm using a dll and the…

    Luca Olivetti, Michael Van Canneyt, Santiago A.
    9
  21. -Fu unit search path and network paths

    are supported in -Fu (unit search path) networks paths? i.e. -Fu\\server\share -Fu\\server\share\path ? When I am compiling project, which is located on local drive, but…

    LacaK, Marco van de Voort, Michael Van Canneyt
    9
  22. netdb and DNS queries for MX, TXT, and other resource types

    I'm in need of a library to perform DNS lookups for a range of different resource types such as MX, TXT, PTR and so on. At first I thought that netdb would do the job,…

    Noel Duffy, Michael Van Canneyt
    3
  23. String literals and code page of .pas source file

    I would like to have source file in Windows-1250 encoding, where are stored literal strings like 'áéíóčž' in Windows-1250 encoding (I share this one file between…

    LacaK, Bart, Benito van der Zander
    37
  24. Ethernet Relays

    Does anyone have any advice on how to get started sending commands from FPC to use these ethernet relays: https://www.amazon.com/gp/product/B076CNJNFH Default IP…

    James Richters, Ched, Michael Van Canneyt
    17
  25. FPC for FreeBSD/PowerPC64

    I'm attempting to port FPC to Freebsd/PowerPC64 and need some help. I've added initial code to get started. However, when trying to cross compile I'm getting an…

    Curtis Hamilton, Jonas Maebe, Karoly Balogh (Charlie/SGR
    3
  26. How to build for arm6 in RaspberryPi on arm7?

    I am using RPi3 and RPi4 platforms when working on RPi projects with Lazarus 2.0.8 and Fpc 3.0.4. Now I realized that the binaries I create will probably not work on…

    Bo Berglund, Jonas Maebe, Tomas Hajny
    7
  27. Sending Hex codes over TCP/IP

    I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a buffer of hex codes over TCP/IP, but everything I find seems to want to send and receive…

    James Richters, Bo Berglund, Brian
    7
  28. Fpc make questions...

    I am not very informed about how make works when building fpc installations, I have just used commands I have gathered online and it has worked... Now I would like to…

    Bo Berglund, Tomas Hajny
    3
  29. TFPObjectlist example

    Am I correct that TFPObjectlist is kind of like Tstringlist, except instead of creating and array of strings, it creates an array of objects? I'm wanting to do something…

    James Richters, Ryan Joseph, Sven Barth
    5
  30. How to implement a circular buffer object in pascal?

    I would like to create a buffer into which a thread can push incoming data and the main thread can extract it for processing. Data are coming from the serial port in a…

    Bo Berglund, Brian, Martin Frb
    10

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