Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2011-06

  1. CompareMem slower in FPC 2.4.4

    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…

    Michalis Kamburelis, Florian Klämpfl, José Mejuto
    12
  2. MIPS

    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…

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Florian Klaempfl
    32
  3. Safely shareable objects

    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…

    Hans-Peter Diettrich, Adem, Andrew Brunner
    18
  4. fpc build problems on some debian armel buildds

    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…

    peter green, Hector Oron, Jonas Maebe
    11
  5. volatile variables

    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…

    Michael Schnell, Andrew Brunner, Hans-Peter Diettrich
    93
  6. Re: *** GMX Spamverdacht *** Re: volatile variables

    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…

    Vinzent Höfler
    0
  7. Compiling FPC with DEBUG

    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…

    Marcos Douglas, Flávio Etrusco
    3
  8. merge request

    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…

    Vincent Snijders
    0
  9. New language idea: Unified types (assignment size-compatible types).

    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…

    Skybuck Flying, Graeme Geldenhuys, Hans-Peter Diettrich
    20
  10. fpVectorial PDF Writer

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

    Leonardo M. Ramé, Felipe Monteiro de Carvalho, Hans-Peter Diettrich
    8
  11. Re: Pascal to C converter

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

    Skybuck Flying, Hans-Peter Diettrich, Michael Schnell
    3
  12. divide bcd's

    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;

    Joost van der Sluis, LacaK
    3
  13. 019605: Safety check for "const s: string" (similar to Range or Overflow checks)

    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…

    Martin, Flávio Etrusco, Florian Klämpfl
    18
  14. 12
  15. void test( void *data ) to procedure test( var data ); ? is it safe ?

    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…

    Skybuck Flying, Hans-Peter Diettrich, Ludo Brands
    8
  16. fcl-db test suite

    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…

    LacaK
    0
  17. Just my luck - trying to build fpc, got yet another error

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

    Martin, Jonas Maebe, Marco van de Voort
    5
  18. suggestion for new parameter regarding cross compile

    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…

    ik, Jonas Maebe
    1
  19. Problem with {$BOOLEVAL ON/OFF} and it's default.

    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…

    Skybuck Flying, Hans-Peter Diettrich, Jonas Maebe
    4
  20. Changes to fcl-web's fpmake.pp

    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) +++…

    Leonardo M. Ramé, Michael Van Canneyt
    1
  21. question about TSearchRec

    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…

    zeljko, Michael Van Canneyt
    2
  22. fcl-WEB build broken => AGAIN

    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…

    Martin, Florian Klämpfl, Jonas Maebe
    21
  23. Defenition of destructor behind property

    This construct is accepted by the compiler: Tdm = class(TDataModule) IBConnection1: TIBConnection; procedure DataModuleCreate(Sender: TObject); private function…

    Joost van der Sluis, Hans-Peter Diettrich, Jonas Maebe
    7
  24. TField.OldValue

    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…

    LacaK, Ladislav Karrach, Michael Van Canneyt
    3
  25. compiler message file msg/errore.msg

    In line 116 there is the entry: general_text_bytes_code=01019_bytes code Is the type "text" correct? Mattias

    Mattias Gaertner, Marco van de Voort
    1
  26. 0019405: compiler crashes with range check error

    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…

    Martin, Sergei Gorelkin
    3
  27. compiler bug with structs within nested classes

    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…

    Andrew Brunner
    0
  28. Inserting first record

    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…

    LacaK, Joost van der Sluis, Ladislav Karrach
    10
  29. Fwd: Re: error compiling latest SVN laz...

    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…

    waldo kitty
    0
  30. gdb and stopping at the begin line

    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…

    Martin, Marc Weustink, Pierre Free Pascal
    3
  31. Central reference for ABI, opcodes etc.

    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…

    Mark Morgan Lloyd
    0
  32. Record assign improve

    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…

    José Mejuto
    1
  33. A bug in FPC 2.4.x for accessing object methods from local functions?

    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…

    Kostas Michalopoulos
    0
  34. RangeCheck error in SetResourceStrings

    Hi. After upgrade fpc to trunk rev. 17622 I get in function SetResourceStrings line 333 fpc_rangeerror.…

    Petr Kristan
    0
  35. Re: Comparison FPC 2.4.4 - Delphi 7

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

    Graeme Geldenhuys
    0
  36. Adding the output to documentation examples

    I often have trouble searching for info about the Format function, because the example does not contain the expected output =o Compare:…

    Felipe Monteiro de Carvalho
    0
  37. fpc 2.5.1. broken for arm-wince

    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…

    Vincent Snijders, Schindler Karl-Michael, Unknown author
    3