fpc-devel · 2010-07
- is that intended? private type section in classes versus visibility62
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…
- OO rewrite - technical questions115
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…
- OO rewrite - first round finished18
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…
- Questions and suggestions to fpWeb7
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…
- RTTI question1
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…
- Syntax problem with function result19
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…
- Mantis & FPC 2.4.35
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…
- OO rewrite - property syntax1
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…
- Re: Re: Ideas for namespace implementation59
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.…
- FPC servers down0
svn and bug tracker Felipe Monteiro de Carvalho
- (Re)compiling FPC or is there something like fpc.bpg?16
[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…
- 2.4.2 ?0
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 ...…
- OO rewrite - globals11
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…
- fpc-image crashes on loading jpeg11
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…
- SVN error3
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…
- [Fwd: Readig dbg files]1
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…
- Safecall on Linux (and other unices?)28
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…
- sub byte arrays6
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…
- mising ansi string ref increase12
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…
- Trunk packages doesn't build with FPC 2.4.01
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…
- Re: Purpose of "uses ... in"?69
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:…
- Question about 'const' and calling conventions3
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…
- Blackfin support101
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…
- Messages overhead40
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…
- fixes branch r15611 doesn't build2
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…
- Need advice for refactoring34
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…
- OO Rewrite - structural changes0
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,…
- FPC/Delphi/FastMM4/TopMemory speed test30
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…
- How to get function start and end position in executable?2
I want to implement kind of executable protection using "software guards" (*) - when function (caller) decrypts another function (callee) before calling it and encrypts…
- Access violation building the compiler : r155856
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…
- FreeBsd X86_64 snapshot0
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:…
- arm embedded cortexm3 procedure address8
disassembling from an elf file produce by FPC cross-assembling for arm embedded, an empty procedure:- procedure UART0int:nostackframe; begin end; looks like this:-…
- arm embedded cortexM3 unrecognized opcode24
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'…
- Re: Purpose of "uses ... in"?0
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…
- Re: Purpose of "uses ... in"?1
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…
- FPC Branches18
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.…
- SVN, Mac OSX, and Samba8
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…
- fpdoc content syntax suggestion27
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…
- "Permission denied" - /examples/hash/.svn/all-wcprops4
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…
- Another bug with spaces in fpc (windows)23
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…
- Unit search order2
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…
- Does i386 Darwin (Mac OSX) have equivalent Linux SysInfo1
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…
