fpc-devel · 2019-01
- [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…
- Re: The 15k bounty: Optimizing executable speed forLinux x86 / LLVM6
A regression like this is quite serious. I'd recommend opening a bug report with a reproducible case so we can investigate and hopefully fix it within the day. At the…
- Proposal to adapt search patch under Haiku using a target specific option (-WH).19
Some background : Haiku currently supports two compilers toolchains with two sets of libraries and ABI for its 32 bits flavor : - gcc 2 for BeOS compatibility - gcc…
- Format Function1
I am looking for a version of Format function that works with WideStrings. One way to implement this is to use something like the folllowing: function GetNames(const…
- Looking for clarification on what I think are obviously missing "const" prefixes for parameters in the methods of TRect (the typshrdh.inc one)13
TSize and TPoint, the other two advanced records defined there, have (well, mostly, they're also missing a couple) all record parameters in their method signatures…
- div creates wrong results on cortexm02
I thought I was going crazy when debugging code that worked fine on cortex m3/4 but created unexpected results on cortex m0. Turns out that the compiler creates…
- Re: finalization2
Pressing Ctrl+C or Ctrl+Break is an interrupt that breaks normal program flow - if unhandled, it causes an abnormal program termination and things don't get cleaned up…
- Compiler directives in getopts unit6
I'm trying to fix an issue in getopts unit. I noticed some (ancient?) compiler directives: {$IFNDEF FPC} {$ifdef TP} uses strings; {$else } uses SysUtils; type PtrInt =…
- Attn Joost: Cannot build Laz trunk with fpc fixes1
Trying to build laz trunk (r60090) with fpc fixes (r40840) fails in (lazarus)\trunk\components\fppkg\src\fppkg_packagevariant.pas, function…
- Sorry for poor testing5
I apologise I didn't properly test my case block improvements, especially where optimising for size is concerned. As someone who has worked in SQA, I should have known…
- Debug info for SEH exceptions (64 bit and upcoming 3.2 32 bit)1
Marco V wrote ( http://forum.lazarus-ide.org/index.php/topic,42265.msg307537.html#msg307537 ) This reminds me of an unsolved issued, debugging exceptions with SEH…
- Custom sorted stringlists1
Hi, after a lot of testing, I think it is safe and I have submitted this patch to the bugtracker https://bugs.freepascal.org/view.php?id=34873 With this patch, it is…
- Failure to recompile TAChart after FPC r40785 (committed by Jonas)6
FPC trunk has not been very friendly to existing code recently... Today with r40792, the TAChart package fails to recompile: "tadiagram.pas(347,38) Error: Only static…
- ref count types / threadsave question17
Below is for ansistring, but same should apply to dyn arrays. Procedure fpc_AnsiStr_Incr_Ref (S : Pointer); [Public,Alias:'FPC_ANSISTR_INCR_REF']; compilerproc; inline;
- SSL socket support rework & HTTPS support in FPC HTTP Server.3
I've reworked the SSL support of the FPC native sockets support. It is now pluggable, which means you don't need OpenSSL any more. This also means that from now on you…
- Get system ANSI code page0
I was looking for a cross-platform method for retrieving system ANSI code page. I have identified two methods, using direct API calls (1) and indirect using the…
- fpc calls crosscompiler from older version6
All of this is of course of my own doing but is it expected? I built and installed fpc trunk, just the 32-bit version. I have 3.0.4 32-bit, and for that release I also…
- Re: [Patch/RFC] Warnings for (in/over)complete case statements0
Il 01/01/2019 22:10, Martok ha scritto: If we agree to check it only at runtime, then the error could be raised everytime it is impossible to find a correspondence in…
