fpc-devel · 2018-07
- threads vs widestringmanager / crash15
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,…
- Soft Float for AVR4
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…
- Adapting MakeFile to make subfolders for targets with sub architectures8
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…
- Why/how does the compiler have a non-trivial number of memory leaks after over two decades of development?5
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.…
- FreeInstance10
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…
- @Gareth messages thread8
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.…
- Re: Why/how does the compiler have anon-trivialnumberofmemory leaks after over two decades of development?1
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…
- Re: Why/how does the compiler have a non-trivial numberofmemory leaks after over two decades of development?9
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…
- Re: Why/how does the compiler have a non-trivialnumberofmemory leaks after over two decades of development?4
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,…
- Re: Why/how does the compiler have a non-trivial number ofmemory leaks after over two decades of development?18
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.…
- Compile time functions19
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…
- Typed constants question2
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 =…
- Operator overload error when using type restrictions2
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…
- Michael: 0033917: TSQLQuery.CreateParams - override param class2
because I cannot comment on resolved issues without reopening/closing them, I'd like to send the question here. Issue reports:…
- 4 Byte Storage - how to map up?0
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,…
- Test changes in e.g. a package5
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…
- Progress of pure function research6
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…
- Bug 33983: Bad Photoshop files decoding2
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…
- msync1
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…
- Issue #329135
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…
- Pure function Wiki page54
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…
- Is this a bug? TFPImageCanvas.StretchDraw1
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…
- Default record fields0
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…
- 39
- Wrong docs: not initialized global variables60
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…
- Bugtracker 0030072
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…
- AVR debug info - bug 00339142
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…
- MacOS Mojave beta - crt1.o not installed to /usr/lib4
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…
- Maximum symbol length11
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…
