Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2019-05

  1. When will the next version of FPC be released?

    This might not be the best place to ask, but my programming buddy keeps bugging me about it, since he wants access to generic functions and the volatile intrinsic. …

    J. Gareth Moreton, Alexander Grotewohl, Ben Grasset
    32
  2. Object upgrades

    I’m doing some work to upgrade old-style objects including class operators/management operators and better construction. It’s natural to do ClassType.Constructor…

    Ryan Joseph, Ben Grasset, J. Gareth Moreton
    35
  3. Constants in generics patch

    I’m not sure the issue is being monitored so I wanted to mention that another user was kind enough to update my last patch so it’s more mergeable now…

    Ryan Joseph, Ben Grasset
    1
  4. Cortex-M0 (SAMD21G18A) and gcc-arm-none-eabi-8-2018-q4-major-win32

      yesterday I tried ( for first time ) to use the fpc for arm with the gcc-arm-none-eabi-8-2018-q4-major-win32 toolchain and I got this error :…

    Dimitrios Chr. Ioannidis, christo, Christo Crause
    8
  5. Re: [Core] Haiku merges: Revision 42117

    The merge of the two commits generate 3 conflicts, but those are easily solved. See attached patch. Olivier, did you test the fixes_3_2 branch? Do you think it is…

    Pierre Muller, Karoly Balogh (Charlie/SGR
    1
  6. Compiler picks wrong overload

    Is someone working on these two issues? https://bugs.freepascal.org/view.php?id=35580 https://bugs.freepascal.org/view.php?id=35576 Lazarus is not usable with fpc trunk…

    Pascal Riekenberg, Ben Grasset, Martok
    3
  7. [PATCH] Add support for Hygon Dhyana processor

    This patch adds vendor id detection for Hygon Dhyana CPUs. Could anyone help me with submit it? More details can be found on: --- fpcsrc/rtl/i386/mmx.pp | 2 ++ 1 file…

    Jinke Fan, Ralf Quint, Unknown author
    4
  8. Minor request with case else branches

    Since the mandatory else section for case blocks isn't going anywhere, I would like to make a small request: Whenever I come across a section of code in my own projects…

    J. Gareth Moreton, Ben Grasset
    3
  9. Closures/anonymous functions update

    After 2 months now I’ve not been able to get the required sources to help finish the closures branch so I guess it’s best to go to plan B and see if it’s feasible…

    Ryan Joseph, Ben Grasset, Blaise Thorn
    4
  10. Class management operators

    Another thing I forget to mention. Since I was looking at management operator stuff in the compiler I was curious, why don’t classes support management operators? The…

    Ryan Joseph, Anthony Walter, Marco van de Voort
    9
  11. Round function issue

    Dear The Free Pascal Developers Greetings from Perú! First and foremost, I would like to thank you for the great work you have done and are currently doing in providing…

    Juan Carlos Díaz Vigo, Ewald, Marco van de Voort
    2
  12. fpcmake

    Looking at using fpcmake and it comes up short. I'm wondering if some patches to it would be acceptable. Broken down by section... In [install] it would be nice to be…

    Kevin Lyda, Marco van de Voort, Sven Barth
    3
  13. OpenSSL

    Would it be possible to add the following function to openssl.pas? _OpenSSLVersion := GetProcAddr(SSLLibHandle, 'OpenSSL_version'); . . . function OpenSSLGetVersion(t:…

    Dave Connolly, Michael Van Canneyt
    4
  14. FPC Language Specification

    So after my argument and the counterarguments regarding the new case block warnings, I'm starting to wonder if a semi-official specification should be written for FPC's…

    J. Gareth Moreton, michael, Michael Van Canneyt
    4
  15. Unexpected behaviour of bit operators

    In the code below program test; const n=12; s=1 shl n; var a,b,c,h1,h2:word; begin a:=77; b:=0; (*c:=(a XOR b)*(a SHL 5+b SHR 2);*) h1:=((a XOR b)*(a SHL 5+b SHR 2)) SHR…

    Marco Borsari, gabor, J. Gareth Moreton
    13
  16. "Case statement does not handle all possible cases" Warning

    So it looks like this new warning has appeared as part of the data flow analysis of -O4.  The thing is, I personally have a problem with this being a warning, because…

    J. Gareth Moreton, Jonas Maebe, Marco van de Voort
    24
  17. [Patch/RFC] Warnings for (in/over)complete case statements

    The attached patch adds two messages inspired by C compiler's -Wswitch-enum and -Wcovered-switch-default. Building on the recent label count refactoring, this was fairly…

    Martok, Bart, Benito van der Zander
    29
  18. Could the following be merged to 3.2.0 please (committed by Sven)

    See the list below. I wonder if they could be merged? Thanks for considering. Revision: 42087 Date: 16 May 2019 22:56:18 Message: * fix for Mantis #35566 by applying…

    Martin, Marco van de Voort, Sven Barth
    3
  19. fpc trunk fails to build (win32/64)

    I reported one case already. https://bugs.freepascal.org/view.php?id=35598 Compiling 42090 for win32 with the options -gl -O4 -Or fails with the warning/error:…

    Martin, J. Gareth Moreton, Marco van de Voort
    4
  20. OR - IS operator precedence

    Why does FPC compile this? (Btw. regardless of mode.) program Project1; uses Classes; var   O1, O2: TObject;   B: Boolean; begin   B := O1 is TPersistent or O2 is…

    Ondrej Pokorny
    0
  21. Issues with CP_UTF7

    See https://forum.lazarus.freepascal.org/index.php/topic,45380.msg320902.html#msg320902 Discussed with Marco, who referred me to this ML. The following program has 2…

    Bart
    0
  22. modeswitch multihelpers

    I'd like to thank Ryan & Sven for extending the helpers to be able to handle multiple helpers. Now I can remove my (obtrusive) helper inheritance     THelper2 = class…

    Ondrej Pokorny, Marcos Douglas B. Santos, Mattias Gaertner
    9
  23. Building from source...

    I note that there's a git mirror hosted at https://github.com/graemeg/freepascal which is kept up to date (last commit, 17 minutes ago). I want to use it to do two…

    Kevin Lyda, Sven Barth
    2
  24. Issue #33603: new feature to check valid enum values

    [Continued from the "Dangerous optimization in CASE..OF" thread] It's already been a year since I posted this patch and still haven't received any feedback about /the…

    Ondrej Pokorny
    0
  25. Possible idea... "safe" subroutines/methods

    This is something I've been thinking about for a while, and I wonder how practical it is or if it's a good idea - the ability to mark specific routines as thread-safe…

    J. Gareth Moreton, Ben Grasset, Jonas Maebe
    18
  26. win32 -> default debug info is still "stabs", why?

    Is there a reason why for 32bit windows target, the default for debug info is still stabs? I've been using dwarf (+sets) forever. And it works just fine (vista 32 bit /…

    Martin
    0
  27. test/cg/variants/tnofalvarol.pp

    So I was doing some refactoring work, and ran the test suites to see if nothing broke.  It turned out that I got a single failure in test/cg/variants/tnofalvarol.pp -…

    J. Gareth Moreton, Jonas Maebe
    3
  28. (no subject)

    Здравствуйте! Я не могу установить Лазарю на свой Мак. После того, как скачиваю fpc-3.0.4.intel.macosx и…

    Григорий Параскевов, Jonas Maebe, Tomas Hajny
    3