Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2010-11

  1. FPC for Linux-ARM

    Looking at: http://www.freepascal.org/down/arm/linux-austria.var There is no download for 2.4.2 Was the page not updated or is something needed to get this working?…

    Felipe Monteiro de Carvalho, Andrew Haines, Bernd Mueller
    56
  2. New language feature suggestion (probably not existing in Delphi)

    I thought about OOP recently, as many sometimes wonder that it's not as good as it can be in some areas. For example, the OOP encapsulation is good, but sometimes the…

    Max Vlasov, Alexander Klenin, Hans-Peter Diettrich
    16
  3. problem compiling

    When trying to compile svn version 16473 (and some earlier versions) I get: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE.…

    Michael Schnell, Marco van de Voort, Sven Barth
    11
  4. defaultformatsettings

    Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC:…

    Marco van de Voort, Florian Klaempfl, Michael Van Canneyt
    18
  5. Less comprehensive progress output for fpmake

    I have created a patch for fpmake that hides some of the raw compiler output. The new output looks more like scons and is actually more clear imho. You can however still…

    Darius Blaszyk, Jonas Maebe, Joost van der Sluis
    6
  6. Is GLUT_EXCLUSIVE_FPUMODE really needed?

    This applies to GLUT_EXCLUSIVE_FPUMODE mode inside packages/opengl/src/glut.pp source code. Reading history, I see it was caused by this bug and patch:…

    Michalis Kamburelis
    2
  7. Added new target to fpmake

    ZeelandNet Webmail Today I was playing with FPDoc and I decided to add creating the documents as a target to fpmake which seems logical to me. I only did a very basic…

    Unknown author, Darius Blaszyk, Michael Van Canneyt
    15
  8. Question regarding thread finalization

    Hello together! As you might now, I'm working on a (according to Michael maybe temporary) solution for the clean up of external threads (see…

    Sven Barth, Michael Van Canneyt, Unknown author
    3
  9. StdOut capture for FPC RTL

    Dear All. Currently to implement logger we use the following approach (the code was implemented for Delphi/Kylix/FPC). Logger is intended for displaying in the GUI…

    Anton Kavalenka, Jonas Maebe, Marco van de Voort
    40
  10. x11/xrender.pas works for anyone?

    I am converting a couple of X11 extensions headers and I see that xrender.pas already exists in Free Pascal, but it links the XRender functions to libX11.so In the…

    Felipe Monteiro de Carvalho, Jonas Maebe
    1
  11. Difference between S_L and S_IL topsize

    Hello. I'm trying to understand fpc's assembler's internals. In fpcsrc/compiler/i386/cpubase.inc the enumertaion topsize is defined. The elements S_B, S_W, S_L and S_Q…

    Joshua Phillips, Florian Klaempfl
    1
  12. Component FTag and Tag should be int64

    I was looking at the code for Tag property in classes unit and noticed I can't safely use Tag to keep runtime pointers (at least on a 64 bit compile). What is the…

    Andrew Brunner, Dimitri Smits, Hans-Peter Diettrich
    27
  13. Property TComponent.Tag change

    To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer -> PtrInt. The practical upshot from this is that you can…

    Michael Van Canneyt
    0
  14. Generics - anyone working on them?

    Hi! I've attached several patches regarding generics some time ago (http://bugs.freepascal.org/view.php?id=15875, http://bugs.freepascal.org/view.php?id=11777), but…

    Aleksa Todorovic, Florian Klämpfl
    1
  15. mstackrealign

    http://bugs.freepascal.org/view.php?id=17384 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 can a C-ABI expert enlight us on this ABI mess. Does this also effect…

    Den Jean, Jonas Maebe
    2
  16. error while linking on OSX

    Hello, FPC developers' list What can be a reason for the next error: "ld: in /usr/local/lib/fpc/2.4.2/units/i386-darwin/rtl/macpas.o, indirect symbol index out of range"…

    Paul Ishenin, Jonas Maebe
    1
  17. Suggestion regarding dynamic packages

    I recently read the info about current implementation of packages and a post that dynamic packages support is at the early stage or not started yet. Knowing that fpc…

    Max Vlasov, Willibald Krenn
    2
  18. Some more THandle problems

    Hello together! While getting SysUtils and Classes to compile for Native NT I've stumbled upon some more spots where Handle=LongInt/LongWord is assumed. 1. In…

    Sven Barth, Florian Klämpfl, Marco van de Voort
    6
  19. constref in Windows

    In fpc 2.5.1 trunk today the QueryInterface in rtl\inc\objpash.inc is defined as: IUnknown = interface ['{00000000-0000-0000-C000-000000000046}'] function…

    José Mejuto, Florian Klämpfl, Hans-Peter Diettrich
    23
  20. LLVM code generation

    I like the llvm architecture and want to ask if I can help developing the llvm code generation for fpc (with the intention to make llvm fully replace fpc's own asm…

    Carl-Philip Haensch
    0
  21. utf8 or ascii ? win32: filenames in debug info

    If debug info is written to a file on windows, are filenames encoded as utf8, or in system-ascii ? gdb returns \344 for "a umlaut" => that looks like ascii but it also…

    Martin
    0
  22. 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
  23. Boehm garbage collector for freepascal

    You can find boehm garbage collector bindings for freepascal, incl. replacement memory manager at http://freepascal.thaddy.co.uk/fpc_boehm_gc.zip For win32 a prebuild…

    Thaddy, Florian Klaempfl, Hans-Peter Diettrich
    16
  24. Use widesting as default?

    I'm converting a Delphi 2009 project to FPC. In this project all strings are widestrings, which is default for Delphi 2009. However, in FPC all strings are still…

    Birger Jansen, Jonas Maebe, Paul Ishenin
    3
  25. Native Datatypes

    There could be "native" Datatypes, that means data types that are compiled into fastest code by compiler (without size casting). An example is the PtrInt, but there…

    Carl-Philip Haensch
    0
  26. Free Pascal 2.4.2 released!

    we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at:…

    Marco van de Voort, Alexander Klenin, Felipe Monteiro de Carvalho
    58
  27. Free Pascal 2.4.2 minimal distros for fpGUI available

    This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI 0.7 release (Aug…

    Paul Breneman, Graeme Geldenhuys, Henry Vermaak
    13
  28. Pascal name mangling

    I have this procedure: function errorHandler(d: PDisplay; e: PXErrorEvent): cint; cdecl; And I would like to set a break-point in it in GDB. Any ideas how to do that?…

    Felipe Monteiro de Carvalho, Jonas Maebe
    1
  29. 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
  30. PDF docs downloads are outdated

    I just downloaded all the PDF docs from the Free Pascal website, then noticed they are all for v2.4.0, not 2.4.2. Just thought I would mention this.   - Graeme -…

    Graeme Geldenhuys, Marco van de Voort
    1
  31. revision.inc

    because i compile constantly the trunk i always wished the version string to have the svn revision. Looking at the version.pas i found that the only think i have to do…

    Dimitrios Chr. Ioannidis, Marco van de Voort
    6
  32. very misleading error msg...

    (using the -Se 10 switch) Compiling C:\Users\martin\AppData\Local\Temp\syn\project1.lpr project1.lpr(9,5) Error: Illegal expression project1.lpr(9,5) Fatal: Syntax…

    Martin, Sven Barth
    2
  33. Re: Interface scope incompatibility with Delphi

    ok, answering my own mail after a small test below tested with following program and 2.4.0 (can someone verify on trunk) it gives somewhat the desired result, but not…

    Dimitri Smits, DaWorm, Marc Weustink
    9
  34. Re: Interface scope incompatibility with Delphi

    It depends. You're not supposed to make assumptions on when an interface goes out of scope. If you search the archives, you'll find multiple threads about this, where…

    Michael Van Canneyt, Alexander Klenin, Dimitrios Chr. Ioannidis
    39
  35. Pointer type declaration issue

    When I was adapting KOL for 2.5.1 (trunk) I noticed a delphi incompatibility: PSomeType = ^TMySomeType; TMySomeType = tagSometype; This doesn't compile. I have to change…

    Thaddy, Hans-Peter Diettrich, Sven Barth
    10
  36. Re: Interface scope incompatibility with Delphi

    I still use that trick daily in Delphi: the cursor handling stuff, that is. It makes it possible to keep the code readable without cluttering it with extra (explicit)…

    Dimitri Smits
    0
  37. Two issues with variant type definitions

    Two questions I wanted to ask: 1) There are two variant type defintions (varxxx constants): one in compiler/symdef.pas, another one in rtl/inc/varianth.inc. Worse, they…

    Sergei Gorelkin, Florian Klaempfl
    2
  38. Code Style in FPC

    what code style does fpc have? There is a lot of inconsistency in the units, for example the assembler units with "tai" in lower case everything and in other rtl units a…

    Carl-Philip Haensch, Sven Barth
    1
  39. Free Pascal introduction to the world

    -------- Original Message -------- Subject: Interface scope incompatibility with Delphi Date: Wed, 10 Nov 2010 16:57:13 +0200 Op 2010-11-10 15:01, Michael Van Canneyt…

    Graeme Geldenhuys, Andrew Brunner, Florian Klaempfl
    7
  40. crash report for constructor may point to destructor

    If a constructor crashes, the the object that it was constructing will be destroyed. (fpc inserts an exception frame to ensure that). So far so good, all correct. But if…

    Martin, Jonas Maebe, Paul Ishenin
    2
  41. FPC 2.5.1. rev. 16318 Segmentation fault

    tried to update my tools. Building FPC from sources all went fine. Building Lazarus the same. But when i tried to run Lazarus i got : Starting program:…

    Dimitrios Chr. Ioannidis, Martin
    1
  42. gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

    Ok, anyone with an idea.. Attached is a simple program (appologies for the many commented lines, but all logs refer to the lines as in this source, and I didn't want to…

    Martin, Marc Weustink, Sven Barth
    8
  43. Question regarding FileSetDate implementation

    Hello together! As you might have noticed, I'm working on the NativeNT RTL again and discover some nice FPC_HAS_FEATURE_* and THandle problems on the way. Now I've found…

    Sven Barth, Sergei Gorelkin
    3
  44. bug in fpdoc HTML output - double spacing

    http://bugs.freepascal.org/view.php?id=17542 I reported this bug, because only recently did HTML output start being double spaced (extra blank lines between lists of…

    Graeme Geldenhuys, Amat Coder, Hans-Peter Diettrich
    23
  45. Error: Type is not automatable: "WideString"

    When I try to call automated method with string constants, I had the compile-time error: 'Error: Type is not automatable: "WideString"'. What I do wrong? Or may be It's…

    Иван Шихалев
    0
  46. debug formats, differences and options?

    A few questions about the different debug formats (stabs, dwarf 1,2,3(,4)) I don't know at which stage debug info is added: when creating .ppu/o or when creating .exe…

    Martin, Graeme Geldenhuys, Jonas Maebe
    7
  47. Re: memleak in fpdoc

    2010/11/5 Michael Van Canneyt : I debugged some more. In procedure ProcessInheritanceStrings(inhInfo:TStringList) the inhclass string list is created, but not freed. The…

    Vincent Snijders, Marco van de Voort, Michael Van Canneyt
    4
  48. type inside a class with generics raises Fatal: Internal error 200705152

    When I create a file like the one I attached I reacived the following error message on line 10: Fatal: Internal error 200705152 When I remove the class to be outside of…

    ik
    0
  49. [PATCH] XMLCFG AnsiStringDOMString conversion

    When I using xmlCfg unit i found problem with storing literals in arbitrary code page. XMLCfg perform automatic conversion with omit some chars. I've change it to use…

    Unknown author, Dariusz Mazur, Felipe Monteiro de Carvalho
    9
  50. Problem reading pgm image

    Hi, I'm loading PGM files to a TImage.Picture using its LoadFromFile or LoadFromStream methods. This works well on small to medium sized images, but I'm getting an…

    Leonardo M. Ramé
    1