fpc-devel · 2011-06
- CompareMem slower in FPC 2.4.412
In my tests, FPC 2.4.4 has much slower CompareMem than FPC 2.4.2, at least for some cases: # with fpc 2.4.4 $ time ./compare_mem_test 100000000 real 0m7.795s…
- MIPS32
Felipe and Michael have pointed out to me that David Zhang's mipsel port has been integrated into trunk. Before I start trying to build it, could anybody comment on how…
- Safely shareable objects18
Preface: I don't want to extend the current discussions, about threads etc. The subject here is a possible language extension, that might allow to simplify the…
- fpc build problems on some debian armel buildds11
Freepascal has been failing sometimes with "einouterror file not found" on armel buildds but i'm not really seeing any pattern to the failures either in terms of…
- volatile variables93
A similar discussion is going on in Lazarus-develop, but this obviously is a compiler question. In C, there is the volatile keyword that ensures that after the code…
- Re: *** GMX Spamverdacht *** Re: volatile variables0
On Wed, 29 Jun 2011 16:31:32 +0200, Michael Schnell Precisely, it is not /guaranteed/ to work if that's what you meant. (Please also note that "give up time slice" does…
- Compiling FPC with DEBUG3
I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29…
- merge request0
I get a compilation error in the compiler when creating a win32 to arm-wince crosscompiler with fpc 2.5.1: cgcpu.pas(2087,88) Error: Identifier not found "pasbool" Can…
- New language idea: Unified types (assignment size-compatible types).20
Here is a new language idea which would make Delphi a bit more friendly: First the problem: pointers and longwords are not assignment compatible. This is pretty much…
- fpVectorial PDF Writer8
Hi, I'm wondering if there are plans to create a pdf writer for fpVectorial. I was thinking of using Inkscape to create a template for reporting in a web application,…
- Re: Pascal to C converter3
Actually I am looking for object pascal to c++ converter to be precise, so with classes support Skybuck. From: Skybuck Flying Sent: Tuesday, June 21, 2011 11:04 AM To:…
- divide bcd's3
Dividing BCD's doesn't go wel: 100/1=10 100/2=overflow 1007/5=overflow It's all in this function in the FmtBCD unit: procedure BCDDivide ( const Dividend, Divisor : tBCD;
- 019605: Safety check for "const s: string" (similar to Range or Overflow checks)18
http://bugs.freepascal.org/view.php?id=19605 It may be easier to discuss here. * First it needs to be decided, if such a check in itself (ignoring any obstacles in it's…
- Hi listers, , , , I am trying to translate a C header with H2PAS, however, I have nver done it, so the difficulties are meaningful., , I am blind, I use screen readers and IUP is the single graphical interface library accessible to program with a screen reader and to navigate in the output dialogs. As my purpose is not to produce beautiful windows, my public will be blind or visually impaired people, users of screen readers, for me, it's wonderful to use IUP to create my dialogs.,,I have tested IUP with Lua. This library is really what I want. But I would like to use IUP with Pascal, but unfortunately there's no a IUP binding for Pascal. Now, it's time to do it and I want to be successful in this task., , I am rying to translate headers with this commandline:, , h2pas -d {C file name},,With this command, I translated the first one. Now I am trying to translate12
I am trying to translate a C header with H2PAS, however, I have nver done it, so the difficulties are meaningful. I am blind, I use screen readers and IUP is the single…
- void test( void *data ) to procedure test( var data ); ? is it safe ?8
I had to convert "void test( void *data)" to Delphi/Pascal. My first conversion was: procedure test( data : pointer ); The documentation of the test function seems to…
- fcl-db test suite0
I am now playing with test suite for fcl-db. I encounter, that for every test in testfieldtypes.pas is repeatedly called InitialiseDBConnector in toolsunit.pas (because…
- Just my luck - trying to build fpc, got yet another error5
I was trying to upgrade fpc (sv) on an older fedora Any ideas? /usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?…
- suggestion for new parameter regarding cross compile1
FPC have at the moment the tag -XP to provide prefix for mostly cross compile code for binutils. I think that there should be also something like -XSU (-XS already…
- Problem with {$BOOLEVAL ON/OFF} and it's default.4
I want to make sure that complete boolean evaluation for certain code sections is on. However after the code section I want the "complete boolean evaluation" compiler…
- Changes to fcl-web's fpmake.pp1
Hi, when compiling fcl-web, fpwebfile.pp should be added to the compilation. Without it, the httpapp example doesn't compile. --- fpmake.pp(revisión: 17744) +++…
- question about TSearchRec2
Just tried something with file searching and cannot remember if it's different from dcc. fpc-2.4.3 on linux. sr: TSearchRec; if FindFirst('/blah/*,fileAttr, sr) repeat…
- fcl-WEB build broken => AGAIN21
Everytime I update, lately I run into issues.... problem is th "/" which is not regognized by windows. ./fpmake.exe windows believes "." is the command. make.exe -C…
- Defenition of destructor behind property7
This construct is accepted by the compiler: Tdm = class(TDataModule) IBConnection1: TIBConnection; procedure DataModuleCreate(Sender: TObject); private function…
- TField.OldValue3
I have 2 questions, which I divide into 2 emails. 1st is about TField.OldValue and Delphi compatibility. Please look at small attached program (for SQLite3). In Delphi…
- compiler message file msg/errore.msg1
In line 116 there is the entry: general_text_bytes_code=01019_bytes code Is the type "text" correct? Mattias
- 0019405: compiler crashes with range check error3
Yes, thanks it is fixed (well, or I cant reach i du to the below, but I choose to believe in it's fixed). But now (with today's SVN), on w32 vista: make clean make.exe…
- compiler bug with structs within nested classes0
I heavily use nested classes in general and I've come across a problem where I cannot make explicit references data structures from another unit while embedded within…
- Inserting first record10
This is second email. Can somebody confirm, that there is Access Violation when we insert (or append) first row into empty dataset ? (or I missed something?) You can use…
- Fwd: Re: error compiling latest SVN laz...0
i'm forwarding the following conversation to this list on request... the problem was lack of disk space and this was discovered when the linker was linking a newly built…
- gdb and stopping at the begin line3
Having just reported http://bugs.freepascal.org/view.php?id=19466 I started wondering (to late, should have done before the report) and googled. It appears that gdb has…
- Central reference for ABI, opcodes etc.0
Is there e.g. a page on the wiki with links to relevant ABI documents etc. for supported CPUs? Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are…
- Record assign improve1
Based in the optimizations to CompareByte and FillChar, I get a suspect about record assignment when records are not very big, so write some test code to verify it, and…
- A bug in FPC 2.4.x for accessing object methods from local functions?0
I've found a bug that causes FPC 2.4.2/2.4.4 to create invalid code. It seems to be caused when a method of a packed* object is called from a local procedure and the…
- RangeCheck error in SetResourceStrings0
Hi. After upgrade fpc to trunk rev. 17622 I get in function SetResourceStrings line 333 fpc_rangeerror.…
- Re: Comparison FPC 2.4.4 - Delphi 70
At compiling yes, but now lets put the facts another way... * FPC supports 10x more platforms than Delphi - Linux, FreeBSD, Haiku, Mac OS X/Darwin, DOS, Win32, Win64,…
- Adding the output to documentation examples0
I often have trouble searching for info about the Format function, because the example does not contain the expected output =o Compare:…
- fpc 2.5.1. broken for arm-wince3
I get the following error while compiling fpc 2.5.1 for arm-wince: c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe -Twince -Parm -XParm-wince- -Xr -Ur…
