fpc-devel · 2019-05
- When will the next version of FPC be released?32
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. …
- Object upgrades35
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…
- Constants in generics patch1
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…
- Cortex-M0 (SAMD21G18A) and gcc-arm-none-eabi-8-2018-q4-major-win328
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 :…
- Re: [Core] Haiku merges: Revision 421171
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…
- Compiler picks wrong overload3
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…
- [PATCH] Add support for Hygon Dhyana processor4
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…
- Minor request with case else branches3
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…
- Closures/anonymous functions update4
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…
- Class management operators9
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…
- Round function issue2
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…
- fpcmake3
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…
- OpenSSL4
Would it be possible to add the following function to openssl.pas? _OpenSSLVersion := GetProcAddr(SSLLibHandle, 'OpenSSL_version'); . . . function OpenSSLGetVersion(t:…
- FPC Language Specification4
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…
- Unexpected behaviour of bit operators13
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…
- "Case statement does not handle all possible cases" Warning24
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…
- [Patch/RFC] Warnings for (in/over)complete case statements29
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…
- Could the following be merged to 3.2.0 please (committed by Sven)3
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…
- fpc trunk fails to build (win32/64)4
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:…
- OR - IS operator precedence0
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…
- Issues with CP_UTF70
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…
- modeswitch multihelpers9
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…
- Building from source...2
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…
- Issue #33603: new feature to check valid enum values0
[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…
- Possible idea... "safe" subroutines/methods18
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…
- win32 -> default debug info is still "stabs", why?0
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 /…
- test/cg/variants/tnofalvarol.pp3
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 -…
- (no subject)3
Здравствуйте! Я не могу установить Лазарю на свой Мак. После того, как скачиваю fpc-3.0.4.intel.macosx и…
