Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2010-10

  1. libtinfo issue

    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…

    Felipe Monteiro de Carvalho, Joost van der Sluis, Marco van de Voort
    22
  2. x86_64/amd64 asmcse and peephole optimizer port

    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…

    Matthias K., Jonas Maebe
    2
  3. Free Pascal Extender

    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…

    Hans-Peter Diettrich, Alexander Klenin, Graeme Geldenhuys
    6
  4. Problem with cascading Destructor in fpc 2.4

    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…

    Martin Krüger, Luca Olivetti, Michael Van Canneyt
    3
  5. need to call FpFlock to unlock file in FileClose?

    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…

    Seth Grover, Michael Van Canneyt, Vinzent Höfler
    2
  6. Two trivial patches

    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…

    José Mejuto
    0
  7. systemh.inc InterLockedIncrement64 (var Target: int64)

    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…

    Andrew Brunner, Florian Klaempfl, Florian Klämpfl
    22
  8. AnsiString in DWARF2 vs DWARF3

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

    Graeme Geldenhuys, Adem, Adriaan van Os
    27
  9. TStringGrid behaviour

    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…

    Birger Jansen, Graeme Geldenhuys, Jesus Reyes
    4
  10. My roadmap

    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…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho
    1
  11. Issue with class vars

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

    Birger Jansen, Paul Ishenin
    3
  12. faster FillChar for IA32/IA64?

    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…

    Dimitri Smits, Florian Klaempfl
    1
  13. Bitpacked Record Bug

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

    Willibald Krenn, Florian Klämpfl, Jonas Maebe
    8
  14. Types.IntersectRect(), probably bug or misusage VERY URGENT

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

    zeljko, Felipe Monteiro de Carvalho, Jonas Maebe
    16
  15. Chosing a graphical interface for specific proposals

    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…

    luciano de souza, Graeme Geldenhuys, Josι Mejuto
    13
  16. X11 Extensions headers

    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…

    Felipe Monteiro de Carvalho
    0
  17. bug found testing 2.4.2-rc1

    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…

    Seth Grover
    0
  18. [patch] removing compiler warning from aasmtia.pas unit

    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…

    Graeme Geldenhuys, Jonas Maebe
    2
  19. DWARF WinCE

    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…

    Dimitrios Chr. Ioannidis
    0
  20. [patch] DWARF 3 extensions and introduction of DWARF4

    http://mantis.freepascal.org/view.php?id=17708 Please see comments in the mantis report.   - Graeme - _______________________________________________ fpGUI - a…

    Graeme Geldenhuys
    0
  21. crosscompile x64->i386 Ubuntu 10.10 Maverick, latest svn

    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…

    Lukas Gradl, Marco van de Voort
    3
  22. TFPHashList (Was: Alternative parsers)

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

    Alexander Klenin, Dariusz Mazur, Florian Klaempfl
    25
  23. PostgreSQL 8.4.5 Ubuntu 10.10 x64 and bytea=blobs up to 1 gigabyte

    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…

    Andrew Brunner, Martin Schreiber, Michael Van Canneyt
    7
  24. fpc servers down?

    It seams that www.freepascal.org and our subversion are down. Felipe Monteiro de Carvalho

    Felipe Monteiro de Carvalho, Michael Van Canneyt
    1
  25. FPC_HAS_CONSTREF

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

    Marcos Douglas, Hans-Peter Diettrich, Jonas Maebe
    10
  26. FPC 2.4.2 RC1 available

    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…

    Marco van de Voort, Felipe Monteiro de Carvalho, Jonas Maebe
    9
  27. Re: Parser speed

    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…

    Florian Klaempfl, Graeme Geldenhuys, Hans-Peter Diettrich
    2
  28. deprecated type, not always throwing hint, known issue?

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

    Martin
    0
  29. pqconnection.pp Code Review Needed Int64 data types not supported in PostgreSQL

    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…

    Andrew Brunner, Michael Van Canneyt, Nikolai Zhubr
    2
  30. compile latest svn on Ubuntu 10.10 Maverick

    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…

    Lukas Gradl
    0
  31. Alternative parsers

    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…

    Hans-Peter Diettrich, Adem, Adriaan van Os
    135
  32. Cppclasses - Was Re: Alternative parsers

    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…

    Felipe Monteiro de Carvalho, Sven Barth
    1
  33. Fatal: Internal error 200111022

    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…

    Birger Jansen, Jonas Maebe, Michael Van Canneyt
    11
  34. cpstrnew branch (was: Alternative parsers)

    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…

    Jonas Maebe, Florian Klaempfl, Graeme Geldenhuys
    3
  35. Re: unit tests for RTL & FCL + 2 patches

    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…

    Michael Van Canneyt, Graeme Geldenhuys, Jonas Maebe
    7
  36. Issue 17664 and FPC 2.4.2 RC

    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…

    Unknown author
    0
  37. MySQL 5.1 and Sum(Field) sql statement

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

    Andrew Brunner
    0
  38. property writer can not use baseclass

    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…

    Martin, Alexander Klenin
    2
  39. win64 dwarf patch

    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

    Willibald Krenn, And3mD, Hans-Peter Diettrich
    11
  40. micro-exe mode?

    Leonardo M. Ramé http://leonardorame.blogspot.com

    Leonardo M. Ramé, Sven Barth
    1
  41. Non-local goto’s and nested exits

    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…

    Adriaan van Os, Florian Klaempfl, Jonas Maebe
    4
  42. fpc_check_object and friends

    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…

    Adriaan van Os
    0
  43. Building and running FPC natively on ARM under Debian "Lenny"

    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…

    Mark Morgan Lloyd, Bernd Mueller, Florian Klaempfl
    24
  44. JSON Beautifier

    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…

    theo, Michael Van Canneyt
    10
  45. x86_64 stabs info - patch (sort of)

    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:

    Willibald Krenn, Florian Klaempfl, Jonas Maebe
    17
  46. Re: Less global variables

    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…

    Florian Klämpfl, Adem, Andrew Brunner
    15
  47. LocalReferenceFixup

    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…

    José Mejuto, Martin Schreiber, Mattias Gaertner
    24
  48. svn trunk r16119

    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…

    Adriaan van Os
    1
  49. Re: Syntax highlighting anomalies

    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…

    Juha Manninen (gmail
    0
  50. TDOMDocument.GetTextContent implementation seems wrong

    The current hierarchy in the dom unit is as follows TDomNode | TDOMNode_WithChildren | TDOMDocument Now the GetTextContent() implementation for TDOMNode_WithChildren runs

    Graeme Geldenhuys, Sergei Gorelkin
    2