fpc-devel · 2019-09
- Windows 32bit - FPC 3.0.4 Gets an Error - but not on Linux or Mac...9
[image: image.png] When I evaluate the code - it is perfect. However, when I run the code, it raises a SIGSEGV - Segmentation fault. Yet, the code runs perfectly on…
- vtCardinal in TVarRec1
I'd like to ask for some clarification on this issue: https://bugs.freepascal.org/view.php?id=32135 Dwords can't be passed into an array of const, because TVarRec doesn't
- Reserved words in OLE automation properties3
I am porting an older Delphi project to Lazarus/FPC which analyzes the internal structure of PowerPoint files using OLE automation. While the overall program is working…
- Case else allows multiple statements3
I've stumbled on a situation where a case statement compiles when I wouldn't expect it to. I would expect the below code to produce a compile error: program test;…
- Return to pure functions!1
The Curious Kit is back! While I'm still waiting on my optimiser overhaul and the node semantic pass to be approved (or rejected), I've gone to taking a fresh look at…
- i386-linux switched to a 16 byte aligned stack5
In r43005 to 43014 I committed a couple of patches so FPC generates stack frames aligned to 16 byte boundaries on i386-linux (before a call instruction, esp is dividable…
- Updating compiler test suite for limited AVR features1
I ran the compiler test suite for the avr-embedded target to see how a modification I made impacts things. There are however so many compilation failures (over 1100)…
- Win32 build of actual trunk4
If I try to build trunk (42942) with 3.0.4 Win32 got the next error: r:/src/compiler/ppc386.exe -Ur -Xs -O2 -n -Fu.. -Fur:/src/rtl/units/i386-win32 -FE.…
- "Wrong" evaluation of longbool on AVR2
I am investigating test suite failures for the avr-embedded target. The first genuine failure is test/taddbool.pp (there are also a bunch of incorrect exit values and…
- for .. in documentation and classes based iterators.3
I did an initial patch to add for..in iterator support in fcl-stl ghashmap (https://bugs.freepascal.org/view.php?id=35940) I've looked at the docs of for..in, and it…
- objfpc generics how to generate self type reference ?3
I'm trying to let an iterator implement the enumerator pattern and return itself, but for that I need to use the type of the generic: generic…
- systems.pas question0
in func GetOSRelDate:Longint What is S used for??? S : AnsiString; Begin s:='ab'; SetLength(S,50); {never used} Next, 3 functions what is the benefit of having the…
