Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2015-12

  1. buggy debian package

    Debian has a FPC 3.0.0 package called "rc-buggy". https://packages.debian.org/search?keywords=fpc&searchon=names&suite=all&section=all Is it just me, or does "buggy"…

    Mattias Gaertner, Jonas Maebe
    3
  2. what does fpc make target sourceinstall do?

    I have looked at a cook-book description on how to build fpc from sources on RaspBian Linux and there I found these steps (I have left out some other steps non-related…

    Bo Berglund, Anthony Walter
    2
  3. [FEATURE REQUEST] Add the `AllowDots` param in the `SysUtils.IsValidIdent()` function

    Please see it here: http://bugs.freepascal.org/view.php?id=29273 Thank you and happy new year! Silvio Clécio

    silvioprog
    0
  4. ideU version 1.0.0.

    Hello. I am happy to present ideU version 1.0.0. ideU is a ide based on MSEide. Multi languages, multi compilers (but fpc is the favorite ;-) ). ideU is totally…

    fredvs, che fou, Fred van Stappen
    16
  5. Request for feedback (Issues #0028370 and #0029150)

    This may not be the right place, and in that case please refer me to the rigth one. Can one of the devels please review the patches for #0028370: Feature request:…

    Bart, Michael Van Canneyt
    2
  6. simple conversion of unicode chars

    I need the simplest possible transfer of one unicode character (numeric string or integer) to the default windows code page (CP1250). Thanks Roman

    ulrich, Bart, Tomas Hajny
    2
  7. Assigning string constant to a WideString and the Format function

    I have a text in the WideString variable. I want to send this text to a SAPI5 synthesizer. I am doing this as follows: WideStr := Format('<pitch…

    Lubos Pintes, Mark Morgan Lloyd, Michael Van Canneyt
    12
  8. FreeGLUT on Windows

    I’m trying to learn some basics of Windows and porting some OpenGL code. The first step is getting an OpenGL context prepared but I’m already stuck here. 1) GLUT is…

    Ryan Joseph, Anthony Walter, leledumbo
    5
  9. TGZFileStream.Destroy() does not close files?

    Hi everyone! I am currently working through an older codebase in FPC (2.6.4, exclusively on Linux and x86_64 target) that I will have to maintain. My task is to fix some…

    dimitri shkermankov
    0
  10. Problem with objects

    Hello: I use fpc 2.6.4 and I have a problem of memory leaks, strange errors, etc. Finally I have tracked it to this: TSimpleArrayString=object List:array of String; end;…

    Santiago Amposta, Dennis Poon, Howard Page-Clark
    12
  11. WideString version of the Format function

    Does FPC standard library have a WideString version of the Format function? Thanks

    Lubos Pintes, Michael Van Canneyt
    1
  12. Lack of 'volatile' a serious issue. Any other such caveats?

    Hi all: I have fond memories of Turbo Pascal and Delphi, and the latest FreePascal version seems promising enough. When I read that you can also write embedded firmware…

    R. Diez, Florian Klaempfl, Jonas Maebe
    17
  13. Blockread blockwrite var vs out parameters

    In functions blockread and blockwrite, the result parameter is "var". And in blockread buffer is also "var". Couldn't they be marked as "out" instead of "var"?. It's not…

    Santiago A., Bart, Frederic Da Vitoria
    13
  14. Fwd: Re: Lack of 'volatile' a serious issue. Any other such caveats?

    Yet again - as just confirmed in a follow-up e-mail of the original poster, better keep him in Cc: of your responses. Tomas ---------------------------- Original Message…

    Tomas Hajny
    0
  15. Linker error

    What could be the cause of this linker error: main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet /usr/bin/ld.bfd: warning: ../link.res contains output sections;…

    Mattias Gaertner, Jonas Maebe
    4
  16. specialize, identifier not found

    Type TRegAlias=record ... end; TArrayAlias=specialize TArray<TRegAlias>; // <==== Error here defconexion.pas(71,14) Error: Identifier not found "specialize"…

    Santiago A., leledumbo, Sven Barth
    10
  17. FPC 3.0 vs 2.6.4 under FreeBSD

    Just wanted to say kudos to the Free Pascal team for doing a GREAT job with FPC 3.0. I did a couple of tests and the exact same project with exact same compiler…

    Graeme Geldenhuys, Jonas Maebe
    4
  18. set code page

    Hi is there possible to set codepage {$codepage xxx} to cp_none for example one source file have {$codepage 1250} but rest i need default (without any setting) Darek

    Dariusz Mazur, Jonas Maebe, Mattias Gaertner
    3
  19. unit for PHostEnt definition

    after a whole night of unsuccessful googling I'm still wondering, which unit(s) I have to use to find a type definition of PHostEnt in linux. I need it for the…

    Andreas Klausmann, leledumbo
    1
  20. alternatives for "cwstring" and "cthreads"

    http://www.freepascal.org/docs-html/rtl/cwstring/ http://www.freepascal.org/docs-html/rtl/cthreads/ Both the "cwstring and "cthreads" units (as per the documentation)…

    Graeme Geldenhuys, Jonas Maebe, Mark Morgan Lloyd
    7
  21. Writing DLLs to by used in Excel VBA code

    I want to use a DLL writen in Pascal to provide functions for a Excel VBA code: The example code of my DLL is: library CE; {$mode objfpc} uses Sysutils; function…

    luciano de souza, Marc Santhoff, Mark Morgan Lloyd
    3
  22. FPC 3.0: Where can I find fpc RTL tuned for {$mode DlephiUnicode} ?

    FPC 3.0 Introduces a new $mode : DelphiUnicode, which assumes string = UnicodeString. I'm trying to use this mode and I can't find where RTL string functions for this…

    Dmitry Redkin, Jonas Maebe
    1
  23. FPC 3 inclusion for debian/ubuntu?

    Just curious, will the freshly release FPC 3 be included in the current or next release of debian/ubuntu repository? Thanks!

    Xiangrong Fang, Jonas Maebe, Juha Manninen
    5
  24. $B and $BOOLEVAL

        when I use {$B} I get " Warning: Illegal compiler directive "$B"' ". When I use $BOOLEVAL everything is OK. It does not correspond with docs:…

    Vojtěch Čihák, Florian Klämpfl
    2
  25. Where is fpc finding link directories?

    I am having a problem with fpc picking up linking directories on my Raspberry Pi. I have a this lib: /opt/vc/lib/libGLESv2.so When I execute "ldconfig -v" it shows both…

    Anthony Walter, Andrew Haines, Jonas Maebe
    6
  26. extreme memory growth using cthreads and default heap manager

    I am experiencing a weird issue regarding threading and shared libraries under Linux. I've boiled it down to a very simple test case in hopes you can help me understand…

    Seth Grover, Graeme Geldenhuys, Jonas Maebe
    4
  27. Does SetLength clear its elements to zeros?

    I just tested, SetLength a string does not zero its elements (the chars). However, SetLength a dynamic array seems to zero its elements. I cannot find the official…

    Dennis, Dennis Poon, Jonas Maebe
    3
  28. changes in TThread.OnTerminate in fcp-3.0?

    in a couple of programs I'm using this idiom: FMyThread:=TMyTread.Create; FMyThread.FreeOnTerminate:=false; procedure TMyForm.MyThreadTerminate(Sender:TObject); begin…

    Luca Olivetti, Anthony Walter, Henry Vermaak
    8
  29. FPC Unicode / CodePage aware strings

    "official" Unicode support in FPC has been discussed for so long (years), that I came up with my own solution for fpGUI since 2007 (LCL did the similar) and it still…

    Graeme Geldenhuys, Jonas Maebe, Martin Schreiber
    17
  30. Can fpc 3.0 release be installed using apt-get on Linux Mint?

    I have just created a VMWare virtual machine on my Win7 PC and installed Linux Mint 17.2 Cinnamon in order to do some pascal development. I really do not want to build…

    Bo Berglund, Anthony Walter, Graeme Geldenhuys
    23
  31. shell script with root rights and automatic password

    How to do this? I would like to run a script with root rights from an application. The password should be transferred automatically.

    Rainer Stratmann, Jonas Maebe, Marc Santhoff
    7
  32. Target Win32 missing

    Hello! Sorry to disturb anyone... Perhaps I just need a little bit more sleep, but I cant find a solution to my problem... When calling fpc from linux command line…

    Lukas Gradl, Karoly Balogh (Charlie/SGR, leledumbo
    8
  33. I thought fpc 3.0 would be compilable from fpc 3.0?

    I thought I read on this list somewhere that FPC version 3.0 would be able to compile itself? I just checked out FPC svn branch fixes 3 0 (version 3.0.1), built using…

    Anthony Walter, Bo Berglund, Jonas Maebe
    6
  34. fpdoc project file

    The 3.1.1 fpdoc -h help has some confusing items. Can someone explain them please: --project=file Use file as project file --write-project=file Do not write…

    Mattias Gaertner, Michael Van Canneyt
    1
  35. Unicode file names

    fpcres fails on Windows with paths containing non ASCII characters. The compiler itself happily compiles units. FPC 3.0.0 and 3.1.1. Is that a regression? Mattias

    Mattias Gaertner, Jonas Maebe, Michael Van Canneyt
    4
  36. Searching recursively for units in a path

    On the commandline or in fpc.cfg, I can include search paths as: fpc test.pp -Fu./Componentes But ./Components has a world of subfolders. So I imagine I could indicates…

    luciano de souza, Michael Van Canneyt
    2
  37. FastCGI Threaded Mode

    The fpc's FastCGI supports threaded mode? Regards

    Mazola Winstrol, Michael Van Canneyt
    1
  38. FPC 3.x for Windows and reading UTF-8 encoded text from standard input

    How can I read an UTF-8 encoded text under Windows? My Windows locale uses windows-1250 encoding. It seems to me that a conversion to ansi happens when I am reading from…

    Lubos Pintes, Jonas Maebe
    1
  39. Win32 download still showing 2.6.4

    When I go to www.freepascal.org, click Downloads, Intel/i386, Win32.... Only Sourceforge has 3.0.0. Austria, Hungary and Netherlands still show: The latest release…

    Mattias Gaertner, Joost van der Sluis, Marco van de Voort
    2
  40. FPC 3.0.0 release for FreeBSD 10 reports v3.1.1??

    Did somebody package the wrong FPC version for FreeBSD 10? I just downloaded "fpc-3.0.0.x86_64-freebsd10.tar" from SourceForge and installed in on my system. Running…

    Graeme Geldenhuys
    1
  41. large project Win32 External Linker Error with 3.0

    I have a fairly large project, which links against a number of C-written libraries. With 2.6.0-2.6.4, it compiles fine, but with 3.0, it fails to link with:…

    Karoly Balogh (Charlie/SGR
    0
  42. which GUI (noob)

    I’m new to FPC and researching about different GUI options available to write open-source multi-platform desktop app using FPC… Based on what I’ve found there are…

    Gour, Ewald, fredvs
    48
  43. Formatting of JSON float values

    I'm storing the following values in a JSON file using values: 23.67, 23.97, 23.87, 10.0 and stored in a JSON object using code as follows: procedure…

    Graeme Geldenhuys, Michael Van Canneyt
    3
  44. FPC Pestering Peacock (3.0.0) release

    We are happy to announce the release of the Free Pascal Compiler version 3.0.0 "Pestering Peacock". This version includes support for, a.o., several new platforms,…

    Joost van der Sluis, Anthony Walter, che fou
    28
  45. FPC fixes 3 0 fails to build on linux arm

    I am attempting to configure Free Pascal 3.0 and Lazarus packages for Raspberry Pi and am running into a failure when making fpc. Here are the steps leading to the…

    Anthony Walter, Jonas Maebe, Mark Morgan Lloyd
    7
  46. Feature announcement: Generic functions, procedures and methods

    Hello together! I'm pleased to finally announce the addition of generic functions, procedures and methods (collectively called "routines") to Free Pascal which allows…

    Sven Barth, Anthony Walter, che fou
    20
  47. Cryptography with Blowfish

    What's wrong with this code? I try to cryptograph a file. The compiler doesn't raise errors, but after running the program, no results happen. program test; {$mode…

    luciano de souza
    1
  48. Beautifier for freepascal

    I am happy owner of an old Version OREGON PASCAL Compiler (running under Unix 68...), who has also a splendid Beautifier included. With this excellent tool is it…

    G.W. Herbold, Graeme Geldenhuys, Jonas Maebe
    3