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 on GSoC

    Could you please tell me more about this issue: It is a good idea. FPC applied twice and was rejected twice. Maybe you can inform with Google Summer of Code, what needs…

    Musan Antal, Vincent Snijders
    1
  2. Int64: Cross Compiler 2.1.4 Beta for X64 does not produce faster executables ?

    The project/benchmark below was compiled with Delphi 2007 (produces 32 bit instructions), and Free Pascal Cross Compiler 2.1.4 Beta for X64 (produces 64 bit instructions…

    Skybuck Flying
    0
  3. Functions with out parameters

    I have the following function : procedure Foo(const AText: UTF8String; out AValue: UTF8String); begin ShowMessage(AText); // AValue := 'A custom value'; end; procedure…

    Damien Gerard, Jonas Maebe
    1
  4. svn_types.inc(432,73) Error: ; expected, but psvn_error_t found

    I have the following code: type psvn_log_message_receiver_t = ^svn_log_message_receiver_t; svn_log_message_receiver_t = function (baton : pointer; changed_paths…

    ik, Michael Van Canneyt
    2
  5. Empty string

    In any programs, a lot of tests on empty strings are made. The following made the work : if Length(s) 0 then ... or if s '' then ... In a lot of cases, the real length…

    Damien Gerard, Flávio Etrusco, Gene Buckle
    11
  6. fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

    Currently fpc 2.3.1 cannot build lazarus anymore. It fails on lines like MyStream.Write(' ',1); The write method is declared as function Write(const Buffer; Count:…

    Vincent Snijders, Felipe Monteiro de Carvalho
    1
  7. assitent with Macro translation

    I've started binding libsvn to FPC, and I have encountered the following macro that I do not know how to translate: #define APR_ARRAY_IDX(ary,i,type) (((type…

    ik, Marco van de Voort, Milan Marusinec
    3
  8. Re: fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

    1. It is passed by value and not by reference. 2. You don't know the size of the value. 3. It is delphi compatible Peter

    Peter Vreman, Jonas Maebe, Vincent Snijders
    2
  9. GetAppConfigDir(False) on Windows Vista

    Does GetAppConfigDir(False) work under Windows Vista? I'm using it in our applications and we don't have a Vista OS yet to test on. As far as I understand, Vista uses…

    Graeme Geldenhuys, Peter Vreman
    2
  10. AnsiDequotedStr not return empty for ""

    S := AnsiDequotedStr('""', '"'); Return in S the same source string for empty quoted. That also in Delphi, but it is for me wrong. In fact that make my program working…

    zaher dirkey, Damien Gerard, Daniël Mantione
    9
  11. Wince+DebugLn

    Hi, all! When trying to debug LCL DebugLn is rather useful. AFAIU, decision about logging is carried out on initialization of LCLProc unit. Debugging ordinary progs is…

    Denis Golovan
    0
  12. Empty record inside another record ?

    To me it seems like some kind of trick, to extend a empty record field, functions as a sort of offset/label/pointer if you will to the new fields that will will be…

    Skybuck Flying, Bee, Daniël Mantione
    20
  13. make RELEASE=1 ?

    Hi, all! Some time I was building LCL using standart command: make clean all # for current target cpu,os and make clean all OS_TARGET=wince CPU_TARGET=arm PP=ppcarm ...…

    Denis Golovan, Peter Vreman
    2
  14. Externalization and inclusion of .PAS files (with GTK+) ?

    I'd like to simplify my programs by creating a short MAIN.PAS file and several additional .PAS files called inside. So I'd like to deport most of my code (procedures,…

    T. Guilleminot, Artur Stuczynski, ik
    2
  15. WSAGetLastError returns 0 when it shouldn't but I cannot see why

    Hello, before reporting a bug, I'm asking for support here since I'm not sure I doing something wrong (and if so what am I doing wrong). While using synapse in a thread,…

    Luca Olivetti, Marco van de Voort
    2
  16. arm-linux, no bus error on misaligned data access

    my ARM-Linux board seems to be resistant against bus errors/misaligned data access or the compiler does some magic to prevent these ;-) It would help me, to debug a…

    Bernd Mueller, Daniël Mantione
    2
  17. Question on programming serial communication.

    I decided to port a DOS program (written in BP7) to Linux, because it becomes hard and harder to maintain it since I completely changed to Linux. Because this program…

    Rainer Hantsch, Gene Buckle, Horacio Jamilis
    13
  18. > ARM and graphic libraries

    Does anyone here have any experience with using FreePascal using ARM microprocessor and drawing graphics?

    Weyert de Boer, Carsten Bager, Den Jean
    4
  19. Status on LazReport and FPC 2.3.1 on MacOSX/Win32

    I have FPC 2.3.1 installed on both MacOSX and Win32, and trying to see how LazReport is working. On Win32 the debugger crashes, and on MacOSX editing and editing in…

    Bent Normann Olsen
    0
  20. Vim FileType for pascal files

    hi ! I use includes files and a vim editor. Obviously .inc are not recognized as pascal files. I tried the following : // vim:ts=4:filetype=pascal but it does not work.…

    Damien Gerard, bartek, Lucas Vasconcelos
    3
  21. the libc unit (again)

    I find more and more units and components (for Lazarus) that are using the libc unit. I find it really problematic, because it doesn't exists for all platforms and…

    ik, Giuliano Colla, Marco van de Voort
    7
  22. Local Time

    My problem is that I get UTC time with the 220 compiler on the Arm platform, when using gettime, now ---. If i compile my program "lt" (local time) with the 220 compiler…

    Carsten Bager, Florian Klaempfl, Jonas Maebe
    7
  23. GLext in Free Pascal does not work?

    Hello, I've been trying to solve the problem with the unit GLext for some time and I am getting mad. I need to use vertex shaders written in GLSL, but I am a novice in…

    Jakub Marian, Michalis Kamburelis
    3
  24. Dependency on other tools ? (Spaces in path issue ?)

    I have come to the point where I want to add files to the search/unit path. I have spaces in my folders and the compiler fails to find the files. This raises some…

    Skybuck Flying
    0
  25. How to Copy files from one dir to another ?

    I´m try use CopyFile (TurboPascal and Delphi function) on FPC 2.2.0 but i can´t. Someone can help-me ? Lucas Vasconcelos

    Lucas Vasconcelos, Mattias Gaertner, micahel schneider
    3
  26. run time error 208

    what makes a calculation like this: result := 4*Q / (pi*ny*d); throw an error: An unhandled exception occurred at $080897AB : Exception : Unknown Run-Time error : 208…

    Marc Santhoff, Florian Klaempfl, Jonas Maebe
    8
  27. fpGUI (a Free Pascal GUI Toolkit) v0.6 has been released

    fpGUI version 0.6 has been released. Five months after the previous release, v0.6 is finally here. As always, lot has been improved and added. For example: a newly…

    Graeme Geldenhuys, Cesar Romero
    2
  28. cthreads unit

    I'm trying to use the pthread_self function that supposed to be existed at cthreads unit. However the compiler tell me that it does not know "pthread_self". I'm using…

    ik, Jonas Maebe
    2
  29. compiler asks for variants support

    why does this program: program novariant; uses sysutils; var a, b: double; begin b := 0.4237; a := b**5; writeln(floattostr(a)); end. when running give that error…

    Marc Santhoff, Jonas Maebe
    2
  30. Pascal Translator for Virtual Machines

    I finally setup a SourceForge project for the PTVM: https://sourceforge.net/projects/ptvm/ Right now it's at beta 0.3, and can translate and compile (with MTASC) a…

    Marco Alvarado, Cesar Romero
    1

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