Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2010-07

  1. is that intended? private type section in classes versus visibility

    Since it now is possible to define types inside a class, please look at the example below. the class internal type section continues accross the border of the visibility…

    Martin, Alexander Klenin, Florian Klaempfl
    62
  2. OO rewrite - technical questions

    One requirement in a transformation into OOP is the replacement of all affected procedures by methods, and of many (currently global) reference variables by class…

    Hans-Peter Diettrich, Aleksa Todorovic, Daniël Mantione
    115
  3. OO rewrite - first round finished

    The first version of the OO rewrite branch is ready for alpha testing :-) Now I need assistance in testing and profiling it. Can somebody do that, or give me…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho, Florian Klaempfl
    18
  4. Questions and suggestions to fpWeb

    I've playing a bit with fpWeb and have some suggestions and questions: - In TFPWebAction.DoHandleRequest if request is not handled by OnRequest and inherited, the…

    Luiz Americo Pereira Camara, Marcos Douglas, Michael Van Canneyt
    7
  5. RTTI question

    I have discovered that the pointer returned by typeinfo() builtin in FPC is very different from one returned in Delphi. What Delphi returns points to rough equivalent of…

    Sergei Gorelkin, Florian Klämpfl
    1
  6. Syntax problem with function result

    I just had to chase an strange bug, in a local (nested) subroutine. When I made several functions (if_statement() ...) local subroutines of method statement(), they…

    Hans-Peter Diettrich, Daniël Mantione, Florian Klaempfl
    19
  7. Mantis & FPC 2.4.3

    Mantis keeps giving this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72843 bytes) in /FPC/mantis/docroot/core/string_api.php…

    Felipe Monteiro de Carvalho, Jonas Maebe
    5
  8. OO rewrite - property syntax

    The procedure property_dec exists twice, in pdecl.pas and pdecobj.pas. The pdecobj version seems to handle (old) syntax only, does not accept unit properties nor…

    Hans-Peter Diettrich, Jonas Maebe
    1
  9. Re: Re: Ideas for namespace implementation

    Hi! So... continuing the thread were it belongs... in fpc-devel :P The whole idea is to compile units with a namespace not just using on in the uses because it's funny.…

    Sven Barth, Adem, Alexander Klenin
    59
  10. FPC servers down

    svn and bug tracker Felipe Monteiro de Carvalho

    Felipe Monteiro de Carvalho
    0
  11. (Re)compiling FPC or is there something like fpc.bpg?

    [Please bear with me while I am trying to formulate this question; it is a tough one to do succinctly] If I am not mistaken, a version X of FPC is guaranteed to be…

    Adem, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    16
  12. 2.4.2 ?

    what is the current state of fpc 2.4.2 ? The last commit to fixes_2_4 was on 3. july. There is a tag 2.4.2_rc1 from 3. july too. ( and there is a wrong tag 2.4.0_rc1 ...…

    Stefan Kisdaroczi
    0
  13. OO rewrite - globals

    In the meantime I could make the OO compiler compile, but it does not already work (project ppoo.lpi). Can somebody assist in the separation of the many global…

    Hans-Peter Diettrich, Adem, Florian Klaempfl
    11
  14. fpc-image crashes on loading jpeg

    Regarding this bug: http://bugs.freepascal.org/view.php?id=16983 Does anyone have any ideas about what I should be looking for to fix it? I got stuck in the stack frame…

    Felipe Monteiro de Carvalho, Jonas Maebe, Joost van der Sluis
    11
  15. SVN error

    I am using the latest TortoiseSVN to get a full local copy of FPC, but --even thought I tried several times, with 'cleanup's-- I keep getting this error: GET of…

    Adem, Jonas Maebe, Juha Manninen
    3
  16. [Fwd: Readig dbg files]

    Hi I'm trying to create little tool which would do that : When exception is throw and stacktrace is returned from stripped exe I'd like to read stacktrace and convert it…

    Bogusław Brandys, Jonas Maebe
    1
  17. Safecall on Linux (and other unices?)

    I've finally managed to get xpcom/gecko to work (partly) on linux/i386. The delphi/fpc gecko-headers uses the safecall calling convention a lot. On Windows a safecall is…

    Joost van der Sluis, Hans-Peter Diettrich, Henry Vermaak
    28
  18. sub byte arrays

    This is probably a stupid question, but I'll ask anyway ;-) Is there any support from the compiler to create arrays of, say type ttest=(one,two,three,four); Afair, these…

    theo, Alexander Klenin, Jonas Maebe
    6
  19. mising ansi string ref increase

    I have an odd case (bug ?) But I am unable to reproduce on a simple example. Debugger output, and assembler both suggests it's in the compilation. fpc from trunk a few…

    Martin, Florian Klaempfl, Graeme Geldenhuys
    12
  20. Trunk packages doesn't build with FPC 2.4.0

    user-188-33-32-1:packages felipe$ make make -C hash all make -C pasjpeg all make -C paszlib all make -C univint all make -C fcl-base all /usr/local/bin/ppc386 -S2h…

    Felipe Monteiro de Carvalho, Jonas Maebe
    1
  21. Re: Purpose of "uses ... in"?

    On Sun, Jul 11, 2010 at 06:47, Hans-Peter Diettrich There are also other problems with unit-search algorithm in FPC. Some of these problems:…

    Aleksa Todorovic, Adem, Daniël Mantione
    69
  22. Question about 'const' and calling conventions

    In a safecall method definition on win32, is a parameter with the 'const' identifier always passed by reference? Or is it 'compiler decide' like the normal calling…

    Joost van der Sluis, Desmond Coertzen, Jonas Maebe
    3
  23. Blackfin support

    Does FPC capable of supporting blackfin<http://www.analog.com/en/embedded-processing-dsp/processors/index.html>(and others in it's family) CPU ? It seems that more and…

    ik, Adem, Andrew Brunner
    101
  24. Messages overhead

    IMO compiler messages slow down compilation a lot. When messages are not really output (prevented by message level...), then a lot of procedure calls and string…

    Hans-Peter Diettrich, Daniël Mantione, Florian Klaempfl
    40
  25. fixes branch r15611 doesn't build

    I just updated my local "fixes" branch to the latest revision. r15611 and when I try and build it with my usual build scripts, it fails to build. Trying to compile under…

    Graeme Geldenhuys, Jonas Maebe
    2
  26. Need advice for refactoring

    Since some time I'm trying to separate the syntax from the semantics processing in the parser. It turned out to be quite complicated, so that I want to use some…

    Hans-Peter Diettrich, Alexander Klenin, Florian Klaempfl
    34
  27. OO Rewrite - structural changes

    My current attempt of an object-oriented refactoring of the compiler proceeds quite fast :-) Unfortunately this attempt will affect the structure of the entire project,…

    Hans-Peter Diettrich
    0
  28. FPC/Delphi/FastMM4/TopMemory speed test

    I did some rough + emprical (i.e. non-exhaustive + non-authoritative) tests with the native memory managers of -- x64 FPC (v2.4.3)/Lazarus (v0.9.29-26670), -- FastMM4…

    Adem, David W Noon, Florian Klämpfl
    30
  29. How to get function start and end position in executable?

    I want to implement kind of executable protection using "software guards" (*) - when function (caller) decrypts another function (callee) before calling it and encrypts…

    Žilvinas Ledas, Jonas Maebe
    2
  30. Access violation building the compiler : r15585

    Hi I just check out and can no longer build the compiler. This is the used command : PATH=E:\FPC\2.4.0\bin\i386-win32;%PATH% make all…

    Inoussa OUEDRAOGO, Jonas Maebe, Juha Manninen
    6
  31. FreeBsd X86_64 snapshot

    Hi, I'm needing to bootstrap FPC 2.4+ on FreeBsd 8.1 x86_64. I found that Marco published one for FreeBsd 7.x on this link:…

    Leonardo M. Ramé
    0
  32. arm embedded cortexm3 procedure address

    disassembling from an elf file produce by FPC cross-assembling for arm embedded, an empty procedure:- procedure UART0int:nostackframe; begin end; looks like this:-…

    Geoffrey Barton, Jeppe Johansen, Jonas Maebe
    8
  33. arm embedded cortexM3 unrecognized opcode

    I wrote a procedure to turn on interrupts:- procedure intenable;nostackframe; begin asm cpsie i end; end; The compilation fails with 'Error: Unrecognized opcode cpsie'…

    Geoffrey Barton, Bernd Mueller, Florian Klaempfl
    24
  34. Re: Purpose of "uses ... in"?

    I have no solid idea about why it is used in the first place. Fortunately, only relative paths are given. I have to check, whether it changes casing. If so, it should be…

    Schindler Karl-Michael
    0
  35. Re: Purpose of "uses ... in"?

    When checking, I found that it is used for all files in UltraStar Deluxe. I was not aware that this part of the code is problematic also have no idea about the actual…

    Schindler Karl-Michael, Marco van de Voort
    1
  36. FPC Branches

    I'm just curious, does there exist descriptions for the various SVN branches (purpose, maintainer, state)? Florian has offered me an new branch, for my parser etc.…

    Hans-Peter Diettrich, Alexsander Rosa, Jonas Maebe
    18
  37. SVN, Mac OSX, and Samba

    Anyone using FPC/Lazarus to develop on a MAC OSX and having success with SVN over a LAN with Samba? I'm having a hard time getting anything to commit on my OSX box and…

    Andrew Brunner, Graeme Geldenhuys, Marc Weustink
    8
  38. fpdoc content syntax suggestion

    Currently fpdoc supports a hybrid HTML syntax for documentation content. I use fpdoc a lot, and over time and noticed a few problems: * Document writers think it's full…

    Graeme Geldenhuys, Hans-Peter Diettrich, Marco van de Voort
    27
  39. "Permission denied" - /examples/hash/.svn/all-wcprops

    Some times I got these erros, when I try to compile FPC: (...) e:/freepascal/binutils/i386-win32/rm.exe -f *_ppas.bat make[5]: Leaving directory…

    Marcos Douglas, dmitry boyarintsev, Jonas Maebe
    4
  40. Another bug with spaces in fpc (windows)

    Hello FPC developers. Sad but we found a new (really very old) bug with spaces: http://bugs.freepascal.org/view.php?id=9964 If you pass -o"some file with spaces.exe" or…

    Paul Ishenin, Alexander Klenin, Hans-Peter Diettrich
    23
  41. Unit search order

    The opposite is guaranteed. This is the search order for units: 1. look for ppu in cwd 2. look for ppu in outputpath if set, this is tp7 compatible (PFV) 3. look for ppu…

    Jonas Maebe, Graeme Geldenhuys
    2
  42. Does i386 Darwin (Mac OSX) have equivalent Linux SysInfo

    procedure UpdateStats; var SI:TSysInfo; begin Linux.SysInfo(@SI); end; FPC (svn/trunk) build on Darwin Mac OSX 10.6.4 did not come with a Linux Unit. Where can I find…

    Andrew Brunner, Marco van de Voort
    1