fpc-devel · 2010-10
- libtinfo issue22
About this bug tracker item: http://bugs.freepascal.org/view.php?id=9734 It seams impossible to install the Free Pascal RPM and use the PCLinuxOS package manager…
- x86_64/amd64 asmcse and peephole optimizer port2
the last days I've done a first step in Porting the i386 data flow analyzer, asmcse and peephole optimizations. Main motivation is: target instruction level…
- Free Pascal Extender6
The SourceForge fpcext project <http://sourceforge.net/p/fpcext/home/> shall allow to customize and extend the FPC compiler, with e.g. alternative components and…
- Problem with cascading Destructor in fpc 2.43
Hi I introduced an boolean-option to the destructor of a class. I implemented a wrapper without argument for reason of backward-compability. This wrapper calls the…
- need to call FpFlock to unlock file in FileClose?2
Over the last few days I've been chasing a frustrating bug which I finally found the cause of. Here's what I was doing (my platform is 32-bit linux): 1. Call FileOpen to…
- Two trivial patches0
There are two more or less trivial patches in the bug tracker since august against database. The first one is completly trivial: [Patch] Missing one ftFixedChar and…
- systemh.inc InterLockedIncrement64 (var Target: int64)22
Interlocked features for Int64 are bound to {$ifdef cpu64} While Int64 data type is supported under i386 FPC the interlocked features aren't included in FPC RTL. Can I…
- AnsiString in DWARF2 vs DWARF327
Recently I mentioned a issue with debugging (using GDB) and indexing in a AnsiString to retrieve a specific character from that string. DWARF2 ----------- eg: S :=…
- TStringGrid behaviour4
I have the following code that throws an error in FPC and runs fine in Delphi: procedure TForm1.BitBtn1Click(Sender: TObject); var MyStringGrid: TStringGrid; begin…
- My roadmap1
Here's a final note on my FPC branches. While I could gather much information about the FPC implementation, during these experiments, I understand now that FPC - as a…
- Issue with class vars3
I encountered a possible bug (or at least a compiler error that should be clearified) when using class vars in FPC 2.4.3: This class definition will compile: TTest =…
- faster FillChar for IA32/IA64?1
I was wondering why on several occasions in discussions regarding compiler design and parser branches it was mentioned (especially by Florian) that FPC is in need of a…
- Bitpacked Record Bug8
Hi! I stumbled accross a bug in fpc that manifests itself when working with bitpacked records that have fields with pos and size mod 8 == 0; For example: type TField =…
- Types.IntersectRect(), probably bug or misusage VERY URGENT16
Someone reported bug in gtk2lcl which crashes lazarus ide. I've found that intersectRect usage from types (from r 27870) makes that. So imagine next code: var R,…
- Chosing a graphical interface for specific proposals13
I am blind and I would like to program graphical interfaces in Freepascal. Perhaps, it sounds a little bit curious. Being blind, would I have interest in graphical…
- X11 Extensions headers0
Just in case they are already there somewhere. I did a text search and it seams that we have no headers for X11 Extensions. For example XShape* So I will add XShape* to…
- bug found testing 2.4.2-rc10
I was testing the release candidate and found this bug dealing with bitpacked records when using i386: http://bugs.freepascal.org/view.php?id=17715 I don't know if it's…
- [patch] removing compiler warning from aasmtia.pas unit2
http://mantis.freepascal.org/view.php?id=17709 Constructor is "tried" to be made private - this is not possible. There is comments in the code about why the visibility…
- DWARF WinCE0
i tried to cross build for the arm wince using a compiler ( builded by me ) from the trunk rev. 16218 with : "make all crossinstall OS_TARGET=wince CPU_TARGET=arm…
- [patch] DWARF 3 extensions and introduction of DWARF40
http://mantis.freepascal.org/view.php?id=17708 Please see comments in the mantis report. - Graeme - _______________________________________________ fpGUI - a…
- crosscompile x64->i386 Ubuntu 10.10 Maverick, latest svn3
Hello! I'm still stuck with cross-compiling fpc from x64 to i386 on an Ubuntu 10.10 machine. I did: make distclean;make all;sudo make install PREFIX=/usr;make clean…
- TFPHashList (Was: Alternative parsers)25
On Wed, Oct 20, 2010 at 05:36, Michael Van Canneyt Sure, but in a very different manner. Look at the code yourself if you do not believe me ;-) Sure, see attachment.…
- PostgreSQL 8.4.5 Ubuntu 10.10 x64 and bytea=blobs up to 1 gigabyte7
Looking to get some resolution to an immediate problem with postgres component I have... Field definitions for blob can be mapped to bytea and enable support for blob…
- fpc servers down?1
It seams that www.freepascal.org and our subversion are down. Felipe Monteiro de Carvalho
- FPC_HAS_CONSTREF10
I updated my FPC (2.5.1) and Lazarus (0.9.29 rev 27706) and, now, I can't compile the Zeos package (ver 6.6.6). The error is:…
- FPC 2.4.2 RC1 available9
We have placed the first release-candidate of the Free Pascal Compiler version 2.4.2 on our ftp-servers. You can help improve the upcoming 2.4.2 release by downloading…
- Re: Parser speed2
This is not done by the parser but by the scanner. In theory, it should be faster, however, I doubt that a time difference is measurable in real world code, the rest of…
- deprecated type, not always throwing hint, known issue?0
Below is a very small sample program. Compiling it using a recent trunk version of fpc (younger than 2 weeks) does not give any hints. If I uncomment the "var" block,…
- pqconnection.pp Code Review Needed Int64 data types not supported in PostgreSQL2
1.) Say you have a string of certain length 25 2.) And you have a memory block of 26. 3.) You move Pchar(s) into ar[i] but read beyond the length of the string…
- compile latest svn on Ubuntu 10.10 Maverick0
Updated today one of the Ubuntu-Machines to Maverick x64. Then started a "svn up" and tried to compile fpc. The x64 version was compiled and installed without any…
- Alternative parsers135
Now I started another branch, that is not as "intrusive" as my other branches. The AltParser branch makes multiple parsers available, each of which sits in its own class…
- Cppclasses - Was Re: Alternative parsers1
On Thu, Oct 21, 2010 at 8:54 AM, Florian Klaempfl Is it in FPC 2.4.0? It probably got introduced too late for the Qt4FPC project, but it could indeed be useful for…
- Fatal: Internal error 20011102211
I'm not sure if this is the correct way to report this, please correct me if I should report in another way. I found an old conversation between Leonardo and Florian…
- cpstrnew branch (was: Alternative parsers)3
I've now tested on Linux/x86-64 and it works fine there as well. Are you sure your local copy of rtl/linux/Makefile matches…
- Re: unit tests for RTL & FCL + 2 patches7
There are almost none. They exist between the other tests, but they are a minority. No, but I am open for suggestions on how to organize the fpcunit tests. I will see…
- Issue 17664 and FPC 2.4.2 RC0
i know that in a Release Candidate stage is difficult or not appropriate to make big changes, but the http://bugs.freepascal.org/view.php?id=17664 is a trivial one. "In…
- MySQL 5.1 and Sum(Field) sql statement0
I'm using Ubuntu 10.10 and Lazarus, FPC from svn/trunk (today) and I got the MySQL51 database component to pickup the field returned during the Query.Open command.…
- property writer can not use baseclass2
Is there a reason for this: class TBase FBar: TObject; end; class TChild(TBase) function GetBar: TChildObject; // does just a typecast // provide a property Bar to avoid…
- win64 dwarf patch11
After adding 'tf_dwarf_only_local_labels' to the flags in i_win.pas (line 105) dwarf2 seems to be working. (Even without -WB00400000). Willi
- micro-exe mode?1
Leonardo M. Ramé http://leonardorame.blogspot.com
- Non-local goto’s and nested exits4
I wonder if there is anything special that hinders the implementation of non-local goto’s and nested exits in macpas mode. I am asking because emulation through…
- fpc_check_object and friends0
Building the freepascal rtl with debug info is, I feel, helpful when debugging application software. On the other hand, when debugging, stepping into object methods…
- Building and running FPC natively on ARM under Debian "Lenny"24
I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was "Etch"- things got a bit cloudy after that. The kernel being shipped with Lenny…
- JSON Beautifier10
Has anybody written some pascal code to make the output of "TJSONData.AsJSON" more readable for the human eye? It is a one-liner, I'd like to have something like this…
- x86_64 stabs info - patch (sort of)17
On my Win64 machine, gdb kept crashing whenever I tried to step into fpc_raiseexception with an error saying that the reg '-1' wasn't defined. And yes, stabs info showed:
- Re: Less global variables15
No. It's a mess and I won't sort it out. Not to mention the indentation style not following the style used in the surrounding code, comments I made about the older patch…
- LocalReferenceFixup24
I find a problem that I'm unable to resolve, with my limited skills. In TReader when a property is a TClass it is being added to be resolved after all components are…
- svn trunk r161191
Just updated to fpc svn trunk r16119 and I am getting very strange results. Applications suddenly crash on startup somewhere in rtl/inc/sstrings.inc with an empty or…
- Re: Syntax highlighting anomalies0
I would vote for this this, too. Maybe nobody asked the fpc core team, so I cross-post this also to fpc-devel list. I just realized how important the duplicate variable…
- TDOMDocument.GetTextContent implementation seems wrong2
The current hierarchy in the dom unit is as follows TDomNode | TDOMNode_WithChildren | TDOMDocument Now the GetTextContent() implementation for TDOMNode_WithChildren runs
