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. Searchable docs online

    Given the questions of late, I have created a search page for the docs: https://www.freepascal.org/docsearch/docsearch.html This will search in the manuals, and in the…

    Michael Van Canneyt, Jan Kampherbeek, Rainer Stratmann
    5
  2. How to find address of record member

    Say I have a record type defined like this: TAppData = packed record //Total 8 bytes per app ActiveToken: word; //Matches constant for app if active Option: word; …

    Bo Berglund, Martin
    4
  3. Benchmarks

    Has anyone benchmarked the new AMD Ryzen vs Intel chips with FreePascal.  10 years or so ago, I had a multi core AMD Desktop and an Intel based laptop.  With…

    Terry A. Haimann
    0
  4. Embedding DLL into EXE for Windows 32 bit?

    Is it possible to embed a DLL into the EXE file such that only the exe needs to be distributed? I need to use a 3rd party protection dongle in my programs. The maker…

    Bo Berglund, José Mejuto, Marco van de Voort
    5
  5. Interrogating external devices using USB

    I have multiple amateur-radio transceivers which may be programmed with computer software through a USB cable connection. There already exists various software…

    BobJ, Jim Lee, R0b0t1
    2
  6. Is this the correct way to configure fpc for multiple arm-embedded subarchs?

    I am looking for an easy way to have all cortex-m compilers available at the same time to be able to do automated building/testing Inspired by the -V parameter of fpc I…

    Michael Ring, Christo, Christo Crause
    15
  7. fpdoc error with XML parsing

    What is illegal about this fpdoc XML project file? fpdoc from FPC 3.1.1 keeps giving an exception error reading the XML document. The issue it has is with the XML…

    Graeme Geldenhuys, Bart, George Bakhtadze
    5
  8. Re: TFPGObjectList error

      this seems to be misleading error message. TFPGObjectList works well for objects (classes). When I tried to push record to it, I got the same error message. TVec3…

    Vojtěch Čihák, Jim Lee, Marco van de Voort
    34
  9. FPC_PCHAR_LENGTH dog slow

    I was just parsing something and found that a call to length on a pchar was taking 90+% of the time in FPC_PCHAR_LENGTH. Why is that so crazy slow? Does it need to…

    Ryan Joseph, leledumbo, Mattias Gaertner
    5
  10. Split stream into words

    What's the easiest way to split a stream into words ? Words are just that: words, but - here is the caveat - they must support unicode. So Michael and Michaël are both…

    Michael Van Canneyt, Marco van de Voort, Marcos Douglas B. Santos
    10
  11. Daemon using TTimer on Windows

    I need to build a daemon app on Windows. It will need a timer to performe some tasks. This timer could be big among 15 min, 30 min, 2 hours, etc. I thought that I can…

    Marcos Douglas B. Santos, Giuliano Colla, Marc Santhoff
    10
  12. List of chars for case

    Is there a way to make a constant for a list of chars which I can use in a case statement? I’ve got a bunch of code duplication happening I’d like to clean up. const…

    Ryan Joseph, Dennis, leledumbo
    6
  13. TFPGObjectList error

    I’m trying to use TFPGObjectList but I get an error. Is the unit busted? If so is there another generic list class in the RTL? type TVec3List = specialize…

    Ryan Joseph
    0
  14. How to list USB devices on Windows?

    I am writing a class that interfaces to a specific USB device HID type and I would like to list all such devices currently connected to the PC (usin Windows). On Linux I…

    Bo Berglund, José Mejuto, Marc Santhoff
    4
  15. Format specifier in FPC?

    I have the following format specifier in C : %+.05f. What would be the FPC equivalent? A float is printed like this: -0.70711 The specified '+' will explicitly print out…

    Darius Blaszyk, Michael Van Canneyt
    2
  16. Lazarus and Linked Lists

    Is there a basic linked List object for Lazarus? Terry Haimann

    Terry A. Haimann, leledumbo
    1
  17. how to get rid of hints

    How to get rid of hint 6068? With fpc 3.1.1 using some units like fgl the compiler emits: .../fpc/rtl/objpas/fgl.pp(899,1) Hint: "inherited" not yet supported inside…

    Mattias Gaertner, Florian Klämpfl
    1
  18. macos make 3.1.1 fails

    Trying to compile fpc 3.1.1 i386 on Mac High Sierra 10.13.5: make CPU_TARGET=i386 PP=/usr/local/lib/fpc/3.0.4/ppc386 all The CPU_TARGET seems to be ignored:…

    Mattias Gaertner, Anthony Walter, C Western
    3
  19. Proper preprocessor?

    Are there any plans to make a proper preprocessor like #define in C? I’m not saying this is good programming practice or anything but I just had a really annoying copy…

    Ryan Joseph, denisgolovan, Florian Klämpfl
    76
  20. Compiling 3.1.1 trunk

    Hi, newbie to fpc (but not Pascal) here. I'm trying to compile the fpc trunk from svn on linux.  I managed to find the buildfaq, but I'm running into problems. I've…

    Jim Lee, Jonas Maebe, Sven Barth
    4
  21. Support for "class threadvar" sections inside class and record types

    Hello together! Announcing a small feature this time, but some might appreciate it: FPC now supports the declaration of threadvars inside class and record types. ===…

    Sven Barth, Anthony Walter, Marco van de Voort
    9
  22. Default record fields

    I want to do a pivot away from the macro stuff to ask another question. Since I’ve wanted to contribute to the compiler for so long and I finally have a little…

    Ryan Joseph, Anthony Walter, Jim Lee
    19
  23. math with infinity and NaN

    I’ve been updating my old programs to use the MATH unit in freepascal and while testing things I came across a runtime error 217 Invalid floating point operation. …

    James Richters, Adriaan van Os, C Western
    23
  24. Equivalent of Delphi map files...

    Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function names when…

    m utku, Adriaan van Os, Jonas Maebe
    10
  25. Feature announcement: Dynamic array extensions

    Hello together! I'm pleased to announce that after nearly a year various extensions for dynamic arrays have been finished. This includes the following features: -…

    Sven Barth, Anthony Walter, Bart
    93
  26. Multiple thread heaps

    If the default memory manager for FP creates a heap for each thread, what happens if an object is created in one thread and freed by another ? Also, do calls to New ()…

    Terry Mead, Fabio Luis Girardi, Florian Klämpfl
    8
  27. Lazarus and Cocoa

    I’m trying to make a lazarus control which wraps an NSView but I haven’t used Lazarus before and I don’t really understand the architecture of the system. It looks…

    Ryan Joseph, Sven Barth
    1
  28. I am trying to install zeosdbo

    I am trying to install zeosdbo onto my Lazarus install and am getting the following error during the rebuild: Build IDE: Exit code 512, Errors: 1lazarus.pp(1,1) Fatal:…

    Terry A. Haimann
    0
  29. Realtime and freepascal???

    For a hard real-time project I am considering using freepascal. As this is my first endeavour in real-time I would like to ask the community on their experiences. Is FPC…

    Darius Blaszyk, Brian, Dennis
    11
  30. AVX512 in ASM - From where should I start?

    In the case that I feel brave enough to code support for AVX512 on asm sections, from where should I start? This question is related to:…

    Joao Schuler, Florian Klämpfl
    3

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