Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2020-03

  1. Pass open array to static array?

    Why doesn't it compile to pass an open array to a static array of the same size? That would nice if this worked since it makes assigning values so easy. program test; var

    Ryan Joseph, Howard Page-Clark, Sven Barth
    12
  2. PLEASE I NEED AN URGENT HELP, cant run Bundle.sh Succefully.

    mr.jenuine mr.jenuine, Bart, Michael Van Canneyt
    2
  3. Why external execution so slow?

    I need to execute an external program from my application. This execution is much slower than execute the external application from command line. I made a simple example…

    Gabor Boros, Alexander Grotewohl, Bart
    13
  4. Ncurses unit and newer releases of ncurses

    Running fpc 3.0.4 on Fedora 30. The ncurses unit is based on version 5.6 of ncurses, according to constants defined in the source. The upstream ncurses is , and I…

    Noel Duffy, Michael Van Canneyt
    2
  5. generic proc inference

    What is the state of FPC support for calling generic procedures using inference like Delphi? For example: {$mode objfpc} generic procedure Run<T>(a: T); begin end; begin…

    Mattias Gaertner, Michael Van Canneyt, Ryan Joseph
    44
  6. FPC 3.2.0RC1 released!

    We have placed the first release candidate of the Free Pascal Compiler version 3.2.0 on our ftp servers. You can help improve the upcoming 3.2.0 release by downloading…

    Marco van de Voort, fredvs
    2
  7. Disable Warning: (6060) Case statement does not handle all possible cases

    Hello. How to disable the Warning: (6060) Case statement does not handle all possible cases ? I did try with this without luck, the warning is still there: interface…

    fredvs, Jonas Maebe
    9
  8. Range check error warning.

    Hello. With fpc 3.3.1 there is this warning: "Warning: (4110) Range check error while evaluating constants (-193 must be between 0 and 255)" Here the code pointed by the…

    fredvs, Alexander Grotewohl, Bart
    27
  9. Chaining method calls

    Is it possible to achieve this dynamically without resorting to type casting? It feels like classes should have a builtin type for each class, like TClassType, which…

    Ryan Joseph, George Bakhtadze, Michal Wallace
    4
  10. Size of pdynarraytypeinfo

    Hello. How to do to retrieve the size of the array of pdynarraytypeinfo? Thanks Fre;D ----- Many thanks ;-) Sent from: http://free-pascal-general.1045716.n5.nabble.com/

    fredvs, Sven Barth
    7
  11. Killing the mail list

    It's 2020 and the mail list is starting to really show its age. I don't get first messages from gmail and my personal web host is whitelisted, messages bounce when I use…

    Ryan Joseph, Alexander Grotewohl, Bo Berglund
    15
  12. sizeof TTypeKind?

    Are there any functions in the RTL to get the sizeof the type specified in TTypeKind? https://www.freepascal.org/docs-html/rtl/typinfo/ttypekind.html I'm truing to use…

    Ryan Joseph, Anthony Walter, Sven Barth
    8
  13. Travis CI support

    I'm searching for volunteers who could help to add and support continuous integration via Travis CI. According to…

    Nico Neumann
    0
  14. UnicodeCompareStr and UnicodeCompareText strange result

    FPC 3.0.4 Linux x64, test from Lazarus 2.0 trunk, ie with widestringmanager. UnicodeCompareStr('aaa', 'AA')=1 - ? UnicodeCompareText('aaa', 'AA')=1 - ok…

    AlexeyT
    0
  15. Operator precendence of ^

    I read the documentation on operator precedence: https://www.freepascal.org/docs-html/ref/refch12.html But I could not find any mention of the derefence operator ^. How…

    Maël Hörz, Bart
    2
  16. Error format in trunk changed (again)

    Here's an example of 2 error formats which changed across compiler version (I think -vbr gives the gcc style output). The first format is the one I thought was standard…

    Ryan Joseph
    0
  17. Re: New Warnings with fpc >= 3.2.0 (fredvs)

    A possibility, using your enumeration is to change it from tabulatorkindty = (tak_left,tak_right,tak_centered,tak_decimal, tak_none); to tabulatorkindty =…

    KBruno Id2, DougC, fredvs
    10
  18. New Warnings with fpc >= 3.2.0

    Hello. Compiling that code with fpc 3.2.0 gives the warning that follows: ---> if (kind tabulatorkindty(-1)) --> gives now the warning: "msedrawtext.pas(1115,48)…

    fredvs, Andrew Hall, Marco van de Voort
    26
  19. Apache 2.4 module that execute Pascal program

    I want to announce Apache module I develop. It allows pascal program to be executed as scripting language using InstantFPC. It is still early stage but it is already…

    Zamrony P. Juhara
    0
  20. inline declarations...

    Will v3.2 support inline variable declarations? tnx. g. Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll -…

    geneb, Marco van de Voort
    4
  21. modeswitch multihelpers precedence problem

    I started adding {$modeswitch multihelpers} to some of my code and noticed a problem. It would seem that the SysUtils unit is defining type helpers for the string type…

    Anthony Walter, Marco van de Voort, Mattias Gaertner
    14
  22. Extended type under Win64

    Hi all I'm trying to get an idea if Extended float is/can actually be 80bit? I have FPC built under Linux x64 and it works fine (co-processor command are actually used).…

    denisgolovan, Ched, Florian Klaempfl
    6
  23. Command line -a cannot be combined with -Sewn

    For example I have following code program teststr;begin     writeln('test');end. Compile it with -a and -Sewn or -Sen $ fpc -a -Sewn teststr.pas It fails to compile.…

    Zamrony P. Juhara
    0
  24. fpc trunk = Operator is not overloaded: "Class Of TBlobField" and "Boolean"

    Hello. I did try last fpc trunk and get that error message when compiling a program (mseide): ---> Error: Operator is not overloaded: "Class Of TBlobField" and "Boolean"…

    fredvs, Bart, Florian Klaempfl
    9
  25. Property write access on records

    In the snippet below why isn't it an error to write to a field of the read-only property? I was hoping this would give me some type safety but it just writes to a temp…

    Ryan Joseph, Jonas Maebe, Sven Barth
    8
  26. Cannot find system type "__m64"

    I'm continuing this from the bug tracker. Also please note that for some reason the mail list server has stopped sending me replies to gmail so I need to look at…

    Ryan Joseph, Alexander Grotewohl, Luca Olivetti
    11
  27. Passing static arrays to open arrays

    Here's another issue I found with open arrays. Why isn't the static array of NSArray compatible with "array of pointer"? You can assign NSArray to pointer so why is the…

    Ryan Joseph
    0
  28. Objective-C mode switch overrides open arrays?

    The for loop thinks the open array of NSObject is an ObjectiveC array and thus gives me an error. Is this a bug? ===================== {$mode objfpc} {$modeswitch…

    Ryan Joseph
    0
  29. Error on https://www.freepascal.org/download.var

    The page https://www.freepascal.org/download.var gives an error. It is still linked in many places as the download page for fpc. Has it moved, or does it need fixing?

    Martin, Marco van de Voort, Sven Barth
    2