Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2018-07

  1. threads vs widestringmanager / crash

    fpc 3.0.4 Win 10 / 32bit Lazarus trunk, but that may not be relevant. This is the first time I am seeing this, and I am therefore not sure I will be able to reproduce,…

    Martin, Marc Weustink, Martin Frb
    15
  2. Soft Float for AVR

    AFAIU, the AVR architecture doesn't support floating point variables. I want to ask if soft float support ( like ARM ) is planned. Does anyone work or plan to work on…

    Dimitrios Chr. Ioannidis, Christo Crause, Florian Klämpfl
    4
  3. Adapting MakeFile to make subfolders for targets with sub architectures

    I'm trying to change the build process for target AVR so that different sub architectures end up in different subfolders.  At the moment the default behaviour is that…

    Christo, Christo Crause, Florian Klämpfl
    8
  4. Why/how does the compiler have a non-trivial number of memory leaks after over two decades of development?

    I was feeling inquisitive today, so I added 'SetHeapTraceOutput('log.trc');" to the first line of pp.pas and built myself a debug copy of the compiler using Lazarus.…

    Ben Grasset, Florian Klämpfl, Michael Van Canneyt
    5
  5. FreeInstance

    Looking at the FPC source now and it appears FreeInstance is a hidden method which is not called from the TObject destructor. Where/how is this method called in the…

    Ryan Joseph, Ben Grasset, Sven Barth
    10
  6. @Gareth messages thread

    could you please try again to fix the threading for your messages ? It's hard to follow your very interesting conversation's without proper list thread support.…

    Dimitrios Chr. Ioannidis, J. Gareth Moreton, Nikolai Zhubr
    8
  7. Re: Why/how does the compiler have anon-trivialnumberofmemory leaks after over two decades of development?

    Apologies if these things seem trivial. I probably need to read the documentation cover to cover to learn about these global state variables. I am a bit surprised that…

    J. Gareth Moreton, Sven Barth
    1
  8. Re: Why/how does the compiler have a non-trivial numberofmemory leaks after over two decades of development?

    I would say that that's a little naïve and dangerous to think like that. Sure, Windows might have the means to clean up memory after an application terminates, but not…

    J. Gareth Moreton, Anthony Walter, Karoly Balogh (Charlie/SGR
    9
  9. Re: Why/how does the compiler have a non-trivialnumberofmemory leaks after over two decades of development?

    Yeah, I realised after I said that that keeping programs resident is very different from a memory leak!  Still, it's still very good practice to do your own clean-up,…

    J. Gareth Moreton, Sven Barth
    4
  10. Re: Why/how does the compiler have a non-trivial number ofmemory leaks after over two decades of development?

    On Mon 30/07/18 01:58 , Ben Grasset sent: fix some of the leaks, but others a local variable in the middle of to the "left" or "right" property then never being freed.…

    J. Gareth Moreton, Marcos Douglas B. Santos, Martok
    18
  11. Compile time functions

    inspired by Kit's concept for pure functions, I had a deeper look at what inline functions (and more importantly, the nodes involved in expanding them) can do. Let me…

    Martok, Dmitry Boyarintsev, J. Gareth Moreton
    19
  12. Typed constants question

    So I have a question about constants. While programming pure functions, I noticed that typed and untyped constants are treated differently.  Something like "const Pi =…

    J. Gareth Moreton, Marco van de Voort
    2
  13. Operator overload error when using type restrictions

    Please confirm if this is a bug or my mistake. When i try to overload a assignment operator on a generic class with type restriction i get this error: "Impossible to…

    African Wild Dog, Sven Barth
    2
  14. Michael: 0033917: TSQLQuery.CreateParams - override param class

    because I cannot comment on resolved issues without reopening/closing them, I'd like to send the question here. Issue reports:…

    Ondrej Pokorny, Luiz Americo Pereira Camara, Michael Van Canneyt
    2
  15. 4 Byte Storage - how to map up?

    I am trying to access a file written to disk with 2 Singles (4 bytes each, 8 bytes total). Linux: hexdump -Cv database.dat 00 00 00 81 00 00 00 81 The value saved in C,…

    Ozz Nixon
    0
  16. Test changes in e.g. a package

    Sorry if this is a RTFM question. Whenever I make some changes to the sourcecode of e.g. a package or an RTL-file, in order to test these changes I do a make clean/make…

    Bart, Joost van der Sluis, Michael Van Canneyt
    5
  17. Progress of pure function research

    So I thought I'd do a little progress update on the pure function research. So far I'm mostly researching how the node builder works, specifically how inline functions…

    J. Gareth Moreton, Martok, R0b0t1
    6
  18. Bug 33983: Bad Photoshop files decoding

    Hello. I just moved bug 33983 ("Bad Photoshop files decoding") to FPC project. Can somebody unassign it from user wp and adjust its incorrect "feedback" status so it…

    Maxim Ganetsky, Martin
    2
  19. msync

    Hi! There is Fpmmap function in BaseUnix for POSIX's mmap: https://www.freepascal.org/docs-html/rtl/baseunix/fpmmap.html I want to mmap a file in writable mode. After…

    Victor Matuzenko, Michael Van Canneyt
    1
  20. Issue #32913

    I've had a look at issue #32913 for a while now, but after looking through errore.msg on an unrelated note, I discovered that it seems to be the intention that Exit is…

    J. Gareth Moreton, Dmitry Boyarintsev, Martok
    5
  21. Pure function Wiki page

    With some blessing from Florian on the concept, I've set up a Wiki page discussing the design proposals for the support of pure functions, as well as some explanation on…

    J. Gareth Moreton, Bart, Dmitry Boyarintsev
    54
  22. Is this a bug? TFPImageCanvas.StretchDraw

    I am investigating this, because similar artefacts can be seen in the new PPI related stretched images in Lazarus. Add below code to a form with 2 TImages on it. (on…

    Martin
    1
  23. Default record fields

    I posted this on the main list before but I want to repost here. Last month I decided finally after years to try working on the compiler and in short time I was able to…

    Ryan Joseph
    0
  24. Managed Types, Undefined Bhaviour

    Willibald Krenn, Florian Klämpfl, Jonas Maebe
    39
  25. Wrong docs: not initialized global variables

    Due to the "Multiple variable initialization" thread I took a look into FPC documentation: https://www.freepascal.org/docs-html/ref/refse24.html There it says: By…

    Ondrej Pokorny, Alexander Grotewohl, Alexander Klenin
    60
  26. Bugtracker 003007

    Attn. Sven Bart on jan 14 I had told you that I had to postpone further work on the https://bugs.freepascal.org/view.php?id=33007 issue, because I was going to be abroad…

    Giuliano Colla, Sven Barth
    2
  27. AVR debug info - bug 0033914

    I'm trying to figure out how to fix bug 33914. This bug causes gdb to read variable addresses from flash, not RAM.  Looking at the DWARF info, the address of a variable…

    Christo, Joost van der Sluis
    2
  28. MacOS Mojave beta - crt1.o not installed to /usr/lib

    We've had this discussion (Jonas and me) a looong time ago (2013) with MacOS Maverics.... In the past, when xcode commandline tools was installed it created a link to…

    Michael Ring, Jonas Maebe
    4
  29. Maximum symbol length

    What is the official maximum symbol length? If it is 255, as the definition "TSymStr = ShortString" suggests, then FPC does not always take proper care of it. In…

    Unknown author, Florian Klaempfl, Jonas Maebe
    11