Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2019-01

  1. [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
  2. Re: The 15k bounty: Optimizing executable speed forLinux x86 / LLVM

    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…

    J. Gareth Moreton, Florian Klämpfl, Simon Kissel
    6
  3. Proposal to adapt search patch under Haiku using a target specific option (-WH).

    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…

    Olivier Coursière, Florian Klämpfl, Karoly Balogh (Charlie/SGR
    19
  4. Format Function

      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…

    Unknown author, Michael Van Canneyt
    1
  5. Looking for clarification on what I think are obviously missing "const" prefixes for parameters in the methods of TRect (the typshrdh.inc one)

    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…

    Ben Grasset, John Doe, Jonas Maebe
    13
  6. div creates wrong results on cortexm0

    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…

    Michael Ring, Jeppe Johansen
    2
  7. Re: finalization

    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…

    J. Gareth Moreton, Alexander, Sven Barth
    2
  8. Compiler directives in getopts unit

    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 =…

    Bart, J. Gareth Moreton, Michael Van Canneyt
    6
  9. Attn Joost: Cannot build Laz trunk with fpc fixes

    Trying to build laz trunk (r60090) with fpc fixes (r40840) fails in (lazarus)\trunk\components\fppkg\src\fppkg_packagevariant.pas, function…

    Werner Pamler
    1
  10. Sorry for poor testing

    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…

    J. Gareth Moreton, Franz Müller, Martok
    5
  11. Debug info for SEH exceptions (64 bit and upcoming 3.2 32 bit)

    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…

    Martin
    1
  12. Custom sorted stringlists

    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…

    Franz Müller, Michael Van Canneyt
    1
  13. Failure to recompile TAChart after FPC r40785 (committed by Jonas)

    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…

    Werner Pamler, Jonas Maebe, Mattias Gaertner
    6
  14. ref count types / threadsave question

    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;

    Martin, Benito van der Zander, Jonas Maebe
    17
  15. SSL socket support rework & HTTPS support in FPC HTTP Server.

    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…

    Michael Van Canneyt, Ozz Nixon
    3
  16. Get system ANSI code page

    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…

    Denis Kozlov
    0
  17. fpc calls crosscompiler from older version

    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…

    Bart, Florian Klämpfl, Tomas Hajny
    6
  18. Re: [Patch/RFC] Warnings for (in/over)complete case statements

    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…

    Marco Borsari
    0