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. FPC 2.3.1: undefined reference to `fpc_geteipasebx'

    Hello! I use FPC 2.3.1 to let FPC compile shared libraries with PIC code. (PIC support is broken in FPC 2.2.4) My shared lib compiles successful, but if I compile a…

    Matthias Klumpp, Jonas Maebe
    2
  2. Why has StrToDate() failing under FPC 2.3.1 (64bit)

    Compiling the project works fine under FPC 2.3.1 (linux 64bit), but running it, i get a EConvertError and I don't know why. I am telling sysutils what LongDateFormat is…

    Graeme Geldenhuys, Michael Van Canneyt
    16
  3. Division by Zero: EDivByZero and EZeroDivide

    Is there a reason why in fpc both floating point and integer division by zero raise an EDivByZero exception? See:…

    Bart, Aleksa Todorovic, Frank Peelo
    19
  4. What about the Foreach statement?

    Have you considered implementing the foreach construct similar to that found in many modern languages? Nino

    Unknown author, Jonas Maebe
    1
  5. Thread Priorities - Linux

    The Linux tthread.inc file in FPC 2.2.4 refers: There is a constant array defined at line 55 that lists 'priority' values which I think are inverted. i.e. Currently, the…

    Unknown author, Graeme Geldenhuys
    2
  6. Who said Pascal isn't popular

    I came across this link by chance. Wow, I never knew there was that many Pascal Compiler implementations. A lot! http://pascaland.org/pascall.htm - Graeme -…

    Graeme Geldenhuys, dmitry boyarintsev, Gustavo Enrique Jimenez
    40
  7. BNF grammar for fpc

    is a complete grammar for fpc written in some variant of BNF available somewhere? I searched the website and the wiki, to no avail. Marc Marc Santhoff

    Marc Santhoff, Felipe Monteiro de Carvalho, Florian Klaempfl
    20
  8. (no subject)

    i want to don't send mail to me from you but idn't know how do it. please guide me

    ak za, Micha Nelissen
    1
  9. New/Dispose vs GetMem/FreeMem

    Which of these should I use in new projects? I read somewhere that GetMem/FreeMem is actually compatibility methods from Turbo Pascal days, yet I have seen lots of new…

    Graeme Geldenhuys, Alain Michaud, Florian Klaempfl
    3
  10. MySQL

    FPC 2.2.4 OS X 10.6.1 Xcode 3.2 All references to MySQL function are unresolved by linker. libMySQLclient.a is copied to .pas directory. Using FPC test code for MySQL…

    Paul Davidson, Jonas Maebe, Vincent Snijders
    12
  11. open arrays as parameters (why packed not allowed)?

    I am translating some Pascal code from MetaWare Professional Pascal to Free Pascal. The MetaWare code uses conformant arrays, which are not supported within Free Pascal.…

    Bruce Bauman, Jonas Maebe, Jürgen Hestermann
    6
  12. pointer arithmetic help required

    Sorry, I suck at this pointers think. Currently I am reading one record in correctly and from there is all corrupted data. :-( Seeing that the first block of data…

    Graeme Geldenhuys, Jürgen Hestermann, Martin
    6
  13. What does TFileStream.Seek() return?

    Based on the documentation shown here, it doesn't mention what the return value is. Anybody have a clue?…

    Graeme Geldenhuys, Michael Van Canneyt
    4
  14. two small ?s - high(real) and nearest 2^x

    1. Is there a way to get the highest and lowest real values? I can do high(longint) but high(real) gives me an error. Also of interest is a low(real) value (-m * 10^n)…

    David Emerson, Aleksa Todorovic, Anton Tichawa
    16
  15. Linux IPC (SHM) : Getting Strange Value for shm_nattch (# of attachements)

    I try to get number of processes attached to a specific shared memory segment. So I read the shmctl record to retrieve this into shared memory : type TShmid_ds = record…

    Tom__G, Henry Vermaak
    3
  16. Code conversion question - alloc and dealloc memory

    I'm am having problems allocating memory and then populating that memory with a TFileStream.Read() call. So I thought, maybe my GetMem() call is incorrect. I then looked…

    Graeme Geldenhuys, Florian Klaempfl, Michael Van Canneyt
    4
  17. More OS X problems

    OS X 10.6.1 FPC 2.2.4 Xcode 3.2 (64 bit) Using code base that has complied correctly since 2004 Fixed $MODE OBJFPC Current problems 1) A unit with identical first few…

    Paul Davidson, Jonas Maebe
    2
  18. Video4Linux access

    I need video4linux support for my new project. I tried vfp unit I found in the contribute units website. But it seems very outdated. Itried all things menitioned in the…

    Hartmut Eilers, James Buren
    1
  19. How to Copy a Record data to a buffer?

    TCommsBuffer = packed record UnitID: Byte; FunctionCode: TModBusFunction; MBPData: TModBusDataBuffer; Spare: Byte; end; { TCommsBuffer } SendBuffer: TCommsBuffer;…

    yu ping, Aleksa Todorovic, Florian Klaempfl
    79
  20. Lazarus 0.9.28 released

    The Lazarus team is glad to announce the 0.9.28 release. This release is based on fpc 2.2.4. This release can be downloaded from the SourceForge download page:…

    Mattias Gaertner, Silvio Clecio
    1
  21. Why use pointers to arrays?

    The other "arrays" discussion got me thinking, and after working so long with only desktop type applications that talk to database API's, I long some knowledge of the…

    Graeme Geldenhuys, Andrew Brunner, Florian Klaempfl
    10
  22. Mac OS X 10.6.1 problem

    Using OS X 10.6.1, FPC 2.2.4, Xcode 3.2 on intel iMac. The program and units all have {$I Directives.inc} at top of each file. Compile lists many errors like: 6: Mode…

    Paul Davidson, Jonas Maebe, Marco van de Voort
    2
  23. Exporting user-defined conditionals

    According to the note in chapter 2, section 2.2.1 of the FPC Programmer's Guide, it is not possible for conditionals to be exported to other units. Is there a way around…

    Unknown author, David Emerson
    1
  24. QueueUserAPC Similar Cross platform Functionality

    I've got a unit I'm porting from Windows to Linux and I came across a QueueUserAPC (Kernel32 Windows) I make to add a callback method that gets executed by the thread I…

    Andrew Brunner, David Emerson
    3
  25. FIONREAD FPC FpIOCtl for Cross platform Sockets

    Sockets programming often requires a poll for how much data is available on a particular socket descriptor. I'm porting an inhouse library for a sockets implementation…

    Andrew Brunner, Marco van de Voort, Micha Nelissen
    2
  26. Looking for remote working freelancer for a C++ to FPC porting project

    We are a small company dedicated to data recovery software and are going to port over a mix of 18K C++ and some Delphi code to a cross platform (Mac+Win) data recovery…

    Alexander Grau
    0
  27. Is svn2.freepascal.org down?

    I cant get in contact with the repository on svn2.freepascal.org (no ping reply either). Can someone give it a kick again... Torsten Bonde Christiansen.

    Torsten Bonde Christiansen, Vincent Snijders
    1
  28. Case in Record

    In the document (http://www.freepascal.org/docs-html/ref/refsu15.html#x38-450003.3.2) I read the code below: Type MyRec = Record X : Longint; Case byte of 2 : (Y :…

    章宏九, Anton Tichawa, Felipe Monteiro de Carvalho
    25
  29. linker apache linux

    Hello all if i try compile free pascal http22 examples in ubuntu - i get this error. sudo make /bin/mkdir -p units/i386-linux /usr/bin/ppc386 -Fu../../../rtl…

    Alexey Voychehovich, ABorka, Alexey Voytsehovich
    8
  30. Support for C++ library format?

    Hi! Is there a plan to allow the use of C++ libraries with FPC? Now C libraries can be used and many of them have Pascal mappings. It seems C++ libraries can be used…

    Juha Manninen, Gilles MARCOU, Jonas Maebe
    8

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